Clock-Signal | bus level | Emulator library
kandi X-RAY | Clock-Signal Summary
kandi X-RAY | Clock-Signal Summary
An emulator that operates at the bus level (ie, all components communicate only using the same individual digital pathways as the original hardware, responding to a clock signal, etc); currently implemented: the Z80 and the various other parts that make up a ZX80 and a ZX81. ![Z80 Debugger Shot] README images/debuggerShot.png).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Clock-Signal
Clock-Signal Key Features
Clock-Signal Examples and Code Snippets
Community Discussions
Trending Discussions on Clock-Signal
QUESTION
There is a similar question here, which was answered with
Yes,
rising_edge()/falling_edge()
should only be used for clock signal. While it works in simulation it can cause problems and unintended hardware in synthesis.
Is the same thing true for using the 'event
attribute to detect edges of non-clock signals like in the following example?
ANSWER
Answered 2018-Nov-09 at 11:35Any signal used as X'event and X= 1
or rising_edge.(X)
will be treated by the synthesis tool as a clock.
In an FPGA that means the routing tool will try to assign a dedicated clock net to the signal, with all that it entails. e.g. the signal has to be routed to a dedicated clock input which can cause significant delay and skew against the other signals.
Also the signal had better be 'clean'. It means that a FF will clock if there is the tiniest spike on the signal. It also means that if your signal is not 'clean', some FFs may trigger and some may not.
The timing tool will need to know the period and high/low time and try to make the set-up and hold time work against all other clocks. This can cause major problems and/or extra logic in the design. If the signal is totally asynchronous against the other clocks you can have meta stability and may need to add synchronizers after the clocked register(s).
So it comes down to: it is strongly recommended to use only 'real' clock signals for the X'event and X= 1
or rising_edge.(X)
constructs.
At the same time there is one rule in digital design which says: all rules are out if there is no other solution.
In the ASIC industry, where I come from, you had to talk to some senior designers before you broke the basic rules. Then you had to add some big emphasized comment around the code stating "Yes this breaks the rule but there was no other way because we had this and this and this and it has been reviewed and signed of by X and Y " And yes, I once used a latch in a design.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Clock-Signal
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page