Difference between revisions of "SystemVerilog"
Jump to navigation
Jump to search
(Add ink to Github SystemVerilog / Verilog sample FIFO code) |
m (SystemVerilog bit-width rules) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
mem[wr_ptr[ADDR_WIDTH-1:0]] <= din; //not using wr_ptr directly to prevent overflow | mem[wr_ptr[ADDR_WIDTH-1:0]] <= din; //not using wr_ptr directly to prevent overflow | ||
| + | |||
| + | Comparator | ||
| + | |||
| + | * https://www.fpga4student.com/2017/02/verilog-code-for-comparator.html | ||
| + | |||
| + | SystemVerilog bit-width rules and formalization efforts . . . | ||
| + | |||
| + | * https://link.springer.com/chapter/10.1007/978-3-032-32519-8_22 | ||
Latest revision as of 16:02, 28 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
Comparator
SystemVerilog bit-width rules and formalization efforts . . .