2015-12-14 21:13:15 +03:00
|
|
|
# basic_verilog
|
|
|
|
### Some basic must-have verilog modules
|
2015-12-15 22:44:58 +03:00
|
|
|
####(licensed under CC BY-SA 4_0)
|
2015-12-14 21:13:15 +03:00
|
|
|
|
|
|
|
|
2015-12-18 00:28:22 +03:00
|
|
|
**/Advanced Synthesis Cookbook/** useful code from Altera`s cookbook
|
|
|
|
|
|
|
|
*Main_TB.v** - basic testbench template
|
|
|
|
|
|
|
|
**ClkDivider.v** - wide reference clock divider
|
|
|
|
**DeBounce.v** - two-cycle debounce for input buttons
|
|
|
|
**EdgeDetect.v** - edge detector, gives one-tick pulses on every signal edge
|
|
|
|
**ResetSet.v** - SR trigger variant w/o metastable state, set dominates here
|
|
|
|
**SetReset.v** - SR trigger variant w/o metastable state, reset dominates here
|
2015-12-25 23:20:33 +03:00
|
|
|
**Synch.v** - input syncnronizer (and also "static delay module"), standard way to get rid of metastability issues
|
|
|
|
|
|
|
|
**DynDelay.v** - dynamic delay made on general-purpose trigger elements
|
|
|
|
**PulseGen.v** - generates pulses with given width and delay
|
|
|
|
**SimplePulseGen.v** - generates one-cycle pulse with given delay
|
2015-12-14 21:13:15 +03:00
|
|
|
|
|
|
|
|