A
Ahmad
Guest
Hi,
I want to make the VHDL code for a simple block that simply map every
di-bit input to four-bit output, as follows:
00 >>> 01 01
01 >>> 01 11
11 >>> 11 11
10 >>> 11 01
I did it concurrently in this block architecture simply as follows:
out_s(0) <= '1';
out_s(2) <= '1';
out_s(1) <= in_s(0);
out_s(3) <= in_s(1);
Will this be done every clock edge of that block clock?? Notice that i
didn't put it inside process..
Do you have comments on the method as well as the code?
Also I have a little question here, how will this code be synthesized
on the FPGA?
Thanks in advance,
Ahmad,
I want to make the VHDL code for a simple block that simply map every
di-bit input to four-bit output, as follows:
00 >>> 01 01
01 >>> 01 11
11 >>> 11 11
10 >>> 11 01
I did it concurrently in this block architecture simply as follows:
out_s(0) <= '1';
out_s(2) <= '1';
out_s(1) <= in_s(0);
out_s(3) <= in_s(1);
Will this be done every clock edge of that block clock?? Notice that i
didn't put it inside process..
Do you have comments on the method as well as the code?
Also I have a little question here, how will this code be synthesized
on the FPGA?
Thanks in advance,
Ahmad,