Skip to main content

Questions tagged [hdl]

HDL stands for hardware description language. The most common examples are VHDL and verilog.

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
120 views

I'm working on an SPI in Verilog. I will post what I came up with here. This is an educational project compiled according to the general principle from Wikipedia. There is only one mode - exchange ...
ayr's user avatar
  • 133
3 votes
1 answer
103 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
4 votes
1 answer
162 views

I am trying to code a state machine for the given state diagram: I ...
Ervin Ranjan's user avatar
2 votes
1 answer
319 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
5 votes
1 answer
742 views

I'm an ECE student. My experience in Verilog and FPGAs is mainly from my digital logic design class. To practice Verilog, I decided to implement a controller for Adafruit LED matrices. It interfaces ...
hjkl's user avatar
  • 143
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
3 votes
1 answer
2k views

I have been learning SystemVerilog before I go back to school and decided to try and implement a Carry Lookahead Adder. As far as I can tell, it works correctly though I haven't tested extensively, ...
Carson's user avatar
  • 193
5 votes
2 answers
1k views

This ip core simply generates a sine wave according a .mem file. It is required to specify rom depth equal to number of the sine points, the init file and the data size contained in the file. The ...
Drakonof's user avatar
  • 453
3 votes
1 answer
128 views

Module for generating a PWM signal. The req_value_i input gets a duration value of the signal. Furthermore, the module can be stopped by deassertion of the enable_i input. ...
Drakonof's user avatar
  • 453
3 votes
1 answer
644 views

I am a beginner in FPGAs, and I am studying Verilog HDL. Could you please check the quality of my code (a shift register)? Any comments are welcome. The shift register serializes parallel from ...
Drakonof's user avatar
  • 453
6 votes
1 answer
841 views

I wrote my first module in Verilog. The purpose is to maintain two counters and emit signals corresponding to VGA's HSync and VSync, as well as HBlank and VBlank pulses to be used by a video ...
robbie's user avatar
  • 261
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
8 votes
2 answers
8k views

I'm an EE student who's taken a a couple digital logic/design courses, but they were focused on schematic representation, so I'm teaching myself Verilog to implement what I've learned. For a basic &...
supershirobon's user avatar
3 votes
2 answers
8k views

This is a 32-bit ALU with a zero flag: ...
u185619's user avatar
  • 937

15 30 50 per page