saurabh252
Newbie level 6
- Joined
- Feb 20, 2012
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,361
I want to make parallel in serial out shift register using structural modeling..
in that i have made d-ff with reset ,load ,clk,data_in,data_out..
now in shift register i have to make code such that when ever load becomes '1' then only all 4 dff stores data into it and when load is '0' i need to shift it serially..so i want to do port mapping(1st) when load is '1' and if load is '0' then other port mapping(2nd)..
also if you have another idea plz tell me but i need to do it with structural modeling only..thanks in advance
in that i have made d-ff with reset ,load ,clk,data_in,data_out..
now in shift register i have to make code such that when ever load becomes '1' then only all 4 dff stores data into it and when load is '0' i need to shift it serially..so i want to do port mapping(1st) when load is '1' and if load is '0' then other port mapping(2nd)..
also if you have another idea plz tell me but i need to do it with structural modeling only..thanks in advance