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.
I have a code where I have an array of registers mainreg having sixteen registers, I want to consider the first block of 8 registers from 0 - 7 from these 8 i want to separate 2 pairs of register arrays having 4 registers each and then again do the same thing from the next block of 8 registers...
Thanks it is working.
I would like to know something
say in this design I am specifying the register inputs that is they are fixed and thus mentioned through the 'assign' clause.
What is the way if I want the register contents to be dynamic i.e, I want the data_str contents to be dynamic, how...
@ADI :
Can we use non-blocking in the combinational block??
---------- Post added at 12:08 ---------- Previous post was at 12:00 ----------
@FVM :
I have done this but there is a different problem.
Actually I need two register blocks like this the first register block (data_str0) and the...
I need to add the contents of four registers in an array I have written a code but on synthesizing it creates latches :
`timescale 1ns / 100ps
module regblock0 (sum, Clk, nReset, nReady);
input Clk, nReset, nReady;
output [15:0] sum;
reg [15:0] temp1, temp2;
reg [15:0] sum;
wire Clk;
wire...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.