Skip to main content

Questions tagged [system-verilog]

SystemVerilog is a unified hardware design, specification, and verification language based on extensions to Verilog.

Filter by
Sorted by
Tagged with
7 votes
1 answer
426 views

I'm learning FPGA development, and this is my first Verilog module - a button bouncer using a state machine. The code works as I expected it to be, but I would like some feedback on the code itself ...
Dang Quang Vinh's user avatar
3 votes
1 answer
154 views

I built this simple blinker in SystemVerilog and would very much like some help to make it better: control.sv ...
K_T's user avatar
  • 163
4 votes
1 answer
110 views

The code is for an I2C master that interacts with an ADC IC (ADS1115). Is there a more practical way of seeing what the internal regs and wires are doing in testbench, without creating a ports for ...
Mister Moron's user avatar
4 votes
1 answer
273 views

For now, I have only implemented a simple I2C protocol where only the master transmits the data. Also there is ack_bit for the I2C Address only. For state 5, i.e.,...
Ayush Mritunjay's user avatar
7 votes
1 answer
298 views

This will be first of many things I will submit during my journey of self (re)learning CPU design. I have ALU implementation for RiscV base instruction. I am not fully sure what I am looking for, but ...
u185619's user avatar
  • 937
3 votes
1 answer
248 views

Question How can I improve my Verilog code? Context Flash Read ID Operation This project is an implimentation of the Read Manufacturer and Device ID (9Fh) operation ...
K_T's user avatar
  • 163
3 votes
1 answer
106 views

I am working on a module named PinCoordinates that detects when X-axis and Y-axis inputs go high. This will be programmed onto an Altera MAX V CPLD. I am ...
Brandon Higgs-Carr's user avatar
2 votes
1 answer
262 views

The Verilog module describes a ROM memory. An initialization file is needed for the INIT_FILE parameter. Below are Makefile, gtkwave.tcl to launch gtkwave, ...
Artem Shimko's user avatar
1 vote
1 answer
140 views

The module measures input clocks. It requires some reference clock. There can be from one to five input clocks to measure it. Output values are usual unsigned ones. As expected, it should be reset ...
Artem Shimko's user avatar
2 votes
1 answer
320 views

I want some feedback about my code (anything is welcome). It is working, but it feels like a clumsy implementation. Because I am self-learning from a book without an answers section, it becomes ...
Miguel Ortega's user avatar
4 votes
2 answers
666 views

I am designing a very crude general-purpose input/output (GPIO) module to provide IO pin control to a RISC-V (like) architecture microprocessor I am currently playing with. This is the code so far: <...
Agamemnon's user avatar
3 votes
2 answers
1k views

I have multiple pre-compiled dynamic libraries that use the same extern "C" function names. The functions can behave differently for each dynamic library. ...
Greg's user avatar
  • 523
1 vote
1 answer
194 views

On recent comments based fixed modules for FPGAs for generating a pseudo-random bit sequence are presented. The first module generates a bit sequence. The third module speeds up the generation by ...
Drakonof's user avatar
  • 453
4 votes
1 answer
375 views

Heart rate or blink generator. Clocked from the system frequency, but calculated from a constant of 120MHz. Has a prescaler with values 2, 3, 5, 6, for even heart beat / blinking. The IS_DEBUG ...
Drakonof's user avatar
  • 453
2 votes
1 answer
2k views

Modules for FPGAs for generating a pseudo-random bit sequence are presented. The first module generates a bit sequence. The third module speeds up the generation by transferring the bus to, for ...
Drakonof's user avatar
  • 453
6 votes
2 answers
2k views

I have a more long-term project I'm using to learn FPGA/HDL, and this is first sub-component of it used for testing. I'm targeting Zynq device. I'd like to create a component which creates an image. ...
Maja Piechotka's user avatar