Menu
Coddy logo textTech

Recap - Declare Signals

Part of the Fundamentals section of Coddy's Verilog journey. Lesson 12 of 90.

challenge icon

Challenge

Add the missing signal declarations based on what you learned in this chapter.

What to do:

  1. Declare an 8-bit wire called data
  2. Declare a 4-bit reg called counter
  3. Declare an integer called i
  4. Declare a parameter called MAX with value 255

Try it yourself

module data_types;
  // Declare an 8-bit wire called data
  
  // Declare a 4-bit reg called counter
  
  // Declare an integer called i
  
  // Declare a parameter called MAX with value 255
  
endmodule
  

  

All lessons in Fundamentals

Practice on your own: Online Verilog compiler