J
JSreeniv
Hi all,
I need some suggestion on writing testbench of non-systhesizable code
I have 32-bit hex word; for example: 0x1000 1000 and this should be
transmitted on rcom_tx output signal using Manchester encoding(for 1--
Now the manchester form is(MSB-->LSB):
01010110_01010101_01010101_01010101_10010101_01010101_01010101_01010101
for every bit of manchester there is 50 ns +/- 15 ns delay
so what i am writing as my concepts of VHDL: For MSB(01010110)
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
----------------------------------------------
Here i need confirmation that: Is there any other easy way of writing
this data on rcom_tx with delay. And also suggest how to represent the
tolerance value with this.
Please give me suggestions
Sreeniv
I need some suggestion on writing testbench of non-systhesizable code
I have 32-bit hex word; for example: 0x1000 1000 and this should be
transmitted on rcom_tx output signal using Manchester encoding(for 1--
b^0001_0000_0000_0000_0001_0000_0000_000010, 0-->01). 32-bit hex word in Binary forma is
Now the manchester form is(MSB-->LSB):
01010110_01010101_01010101_01010101_10010101_01010101_01010101_01010101
for every bit of manchester there is 50 ns +/- 15 ns delay
so what i am writing as my concepts of VHDL: For MSB(01010110)
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='1';
wait for 50 ns; rcom_tx<='0';
----------------------------------------------
Here i need confirmation that: Is there any other easy way of writing
this data on rcom_tx with delay. And also suggest how to represent the
tolerance value with this.
Please give me suggestions
Sreeniv