1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00
basic_verilog/README.md
Konstantin Pavlov (pt) df4a0b222c Added testbench template
2015-12-18 00:28:22 +03:00

650 B

basic_verilog

Some basic must-have verilog modules

####(licensed under CC BY-SA 4_0)

/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
Synch.v - input syncnronizer, standard way to get rid of metastability issues