![]() |
|
![]() |
|
Answers Database
XPLA Professional: Implementing a latch in a CoolRunner?
Record #7523
Product Family: Software MODULE latch1 TITLE 'Latch with Asynchronous Set and Reset' DECLARATIONS set,reset,enable,d pin ; q pin istype 'com' ; EQUATIONS q = !reset & (set # (enable & d # !enable & q.com # d & q.com)) ; END MODULE latch2 TITLE 'Latch' DECLARATIONS d7..d0 pin ; enable pin ; q7..q0 pin istype 'com,retain' ; d = [d7..d0] ; q = [q7..q0] ; EQUATIONS q = (enable & d) # (!enable & q.com) # (d & q.com) ; END End of Record #7523 - Last Modified: 10/11/99 17:45 |
| For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips! |