Author Topic: PSoC combinational loop  (Read 1791 times)

0 Members and 1 Guest are viewing this topic.

Offline blueskullTopic starter

  • Supporter
  • ****
  • !
  • Posts: 367
  • Country: cn
  • BA7LKP
PSoC combinational loop
« on: July 07, 2016, 06:32:11 pm »
Is there any way to create an async SR latch inside a PSoC 4 device? Its macro library contains clocked SR latch, but I need an async one.
I created one with combination logic elements, but it shows the following warning.

Does it mean it have already broken the net for me (which is not what I intended to do), or it tells me that I should break the loop, but I have the discretion?
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: PSoC combinational loop
« Reply #1 on: July 08, 2016, 02:27:12 pm »
I had a problem where optimization would take out gates I wanted to stay, no warnings.
That was with all optimization off, at the time, ~ 3 years ago, no way to resolve the issue.

I would post this on Cypress.com PSOC forum, there may be a way to
defeat warning and make sure no nets are broken or to force particular
net routing.

Of course you could always eat a pin or two and route so tool does not know you
have latch loop........create the "net" externally.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Tainer

  • Contributor
  • Posts: 37
  • Country: 00
Re: PSoC combinational loop
« Reply #2 on: July 08, 2016, 05:06:29 pm »
I created one with combination logic elements
You could try making your own implementation in verilog
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf