Nov 18, 2010 #1 H hareshcooleng Member level 1 Joined Aug 6, 2010 Messages 36 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Location ahmedabad Activity points 1,480 anyone have code of 8 bit register with load facility ,
Nov 18, 2010 #2 Y yoramgr Member level 2 Joined Nov 4, 2010 Messages 42 Helped 6 Reputation 12 Reaction score 6 Trophy points 1,288 Location Israel Activity points 1,561 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)
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)