daisordan
Newbie level 6
- Joined
- Oct 1, 2012
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,404
I am using CycloneII and trying to do a simply communication using RS232 with my PC.
My simulation in modelsim is fine but it came wrong after it loaded into the FPGA. I use the oscilloscope to check the pin and the FPGA didnt run the initial value part. I did somethings simply like:
Is that because I cannot use "initial" for "real world" FPGA design? As I know RS232 doesnt included reset pin so I can only start with some initial value and use a counter to reset the value after each complete process?
My simulation in modelsim is fine but it came wrong after it loaded into the FPGA. I use the oscilloscope to check the pin and the FPGA didnt run the initial value part. I did somethings simply like:
Code:
initial
begin
a<=0;
count<=0;
b<=1;
end
Is that because I cannot use "initial" for "real world" FPGA design? As I know RS232 doesnt included reset pin so I can only start with some initial value and use a counter to reset the value after each complete process?