1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00
2018-09-16 01:20:23 +03:00
2015-12-14 21:13:15 +03:00
2018-08-01 07:00:37 +03:00
2018-08-01 07:00:37 +03:00
2018-08-01 07:00:37 +03:00
2018-08-01 07:00:37 +03:00
2018-08-01 06:39:08 +03:00
2018-08-01 06:39:08 +03:00
2016-12-14 12:51:46 +03:00
2016-03-23 21:18:08 +03:00

basic_verilog

Some basic must-have verilog modules

(licensed under CC BY-SA 4_0)

CONTENTS:

/Advanced Synthesis Cookbook/ - useful code from Altera's cookbook /KCPSM6_Release9_30Sept14/ - Xilinx's Picoblaze soft processor /pacoblaze-2.2/ - version of Picoblaze adapted for Altera devices

Main_tb.v - basic testbench template

ActionBurst - multichannel one-shot triggering module ActionBurst2 - multichannel one-shot triggering with variable steps module ClkDivider - wide reference clock divider DeBounce - two-cycle debounce for input buttons DynDelay - dynamic delay for arbitrary input signal made on general-purpose trigger elements EdgeDetect - edge detector, gives one-tick pulses on every signal edge Encoder - digital encoder input logic module fifo - single-clock FIFO buffer (queue) implementation NDivide - primitive integer divider lifo - single-clock LIFO buffer (stack) implementation PulseGen - generates pulses with given width and delay ResetSet - SR trigger variant w/o metastable state, set dominates here ReverseVector - reverses signal order within multi-bit bus SetReset - SR trigger variant w/o metastable state, reset dominates here StaticDelay - static delay for arbitrary input signal made on Xilinx`s SRL16E primitives. Also serves as input synchronizer, a standard way to get rid of metastability issues UartRx - straightforward yet simple UART receiver implementation for FPGA written in Verilog UartTx - straightforward yet simple UART transmitter implementation for FPGA written in Verilog UartRxExtreme - extreme minimal UART receiver implementation for FPGA written in Verilog UartTxExtreme - extreme minimal UART transmitter implementation for FPGA written in Verilog

Also added some simple testbenches for selected modules

Author: Konstantin Pavlov, pavlovconst@gmail.com

Description
No description provided
Readme 56 MiB
Languages
Verilog 50.3%
SystemVerilog 13.6%
VHDL 13.4%
HTML 13.3%
Coq 3%
Other 6.2%