syedshan
Advanced Member level 1
- Joined
- Feb 27, 2012
- Messages
- 463
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Jeonju, South Korea
- Activity points
- 5,134
As the toppid suggest, I have some questions related to this
First of all look at the example..
Note the signal 'b' about which I am talking !
1. How is the design in terms of good-design? I don't know how to rephrase it since English not my native language :grin:
2. What effects are on the signal. Since it is in the same clock domain and same process block, hence it is completely valid according to my knowledge...
Any other comment please mention.
Since my design has some situations like this hence I am concerned about final result
First of all look at the example..
Note the signal 'b' about which I am talking !
Code:
process(clk, rst)
if(rst = '1') then
b<='0';
...
elsfi(rising_edge(clk)) then
if(abcd) then
b <= "001";
else b < ='0';
end if;
if(b= "001" and xyz = "11") then
b<= b + '1';
elsif(...)
b<= b - '1';
else
b <= (others => '0');
end if;
end if;
1. How is the design in terms of good-design? I don't know how to rephrase it since English not my native language :grin:
2. What effects are on the signal. Since it is in the same clock domain and same process block, hence it is completely valid according to my knowledge...
Any other comment please mention.
Since my design has some situations like this hence I am concerned about final result