Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog code of 8 bit register with load facility

Status
Not open for further replies.
Re: verilog program code

do you mean something like this:

reg [7:0] my_reg;
wire [7:0] new_data;
wire load_my_reg;
always @( posedge clk )
if(load_my_reg)
my_reg <= new_data;

(you'll need to assign something to the new_data bus and the load_my_reg signal, and to take care of the clk)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top