Difference between revisions of "SystemVerilog"
Jump to navigation
Jump to search
(Create page for SystemVerilog notes) |
(Add ink to Github SystemVerilog / Verilog sample FIFO code) |
||
| Line 1: | Line 1: | ||
| − | + | 2026-11-14 sab | |
* https://www.doulos.com/knowhow/systemverilog/systemverilog-tutorials/systemverilog-interfaces-tutorial/ | * https://www.doulos.com/knowhow/systemverilog/systemverilog-tutorials/systemverilog-interfaces-tutorial/ | ||
| + | |||
| + | 2026-11-22 dom | ||
| + | |||
| + | An interesting use of FIFO register pointers, defined to be one bit wider than the address bus for first-in-first-out register file | ||
| + | |||
| + | * https://github.com/NikhilRout/verilog101/blob/main/Memory/FIFO/Synchronous%20FIFO/FIFO_sync.v | ||
| + | |||
| + | One line of interest here is: | ||
| + | |||
| + | mem[wr_ptr[ADDR_WIDTH-1:0]] <= din; //not using wr_ptr directly to prevent overflow | ||
Revision as of 01:34, 23 November 2026
2026-11-14 sab
2026-11-22 dom
An interesting use of FIFO register pointers, defined to be one bit wider than the address bus for first-in-first-out register file
One line of interest here is:
mem[wr_ptr[ADDR_WIDTH-1:0]] <= din; //not using wr_ptr directly to prevent overflow