bubuta77
Member level 4
- Joined
- Jul 6, 2008
- Messages
- 78
- Helped
- 19
- Reputation
- 38
- Reaction score
- 18
- Trophy points
- 1,288
- Location
- Israel
- Activity points
- 1,749
Hi.
I am using EB of cool-runner II.
At my code i have some inputs connected to pins (by ucf file). When i start the value of inputs are undefined until some external signal will arrive and i want em defined always.
i don't want to use external resistors for pull up or pull down. I tried to set using the ucf file the pull-up mode operation for pins defined as inputs but it was unsuccessful (i don't measure 3.3V at this pins..)
I want to set my "in" pins as "inout" and using process to initialize them once:
initialize: process(clk)
begin
if flag=0 then
input<="00000";
flag<=1;
end if;
end process initialize;
it legal and/or common thing to do? will it works?
I am using EB of cool-runner II.
At my code i have some inputs connected to pins (by ucf file). When i start the value of inputs are undefined until some external signal will arrive and i want em defined always.
i don't want to use external resistors for pull up or pull down. I tried to set using the ucf file the pull-up mode operation for pins defined as inputs but it was unsuccessful (i don't measure 3.3V at this pins..)
I want to set my "in" pins as "inout" and using process to initialize them once:
initialize: process(clk)
begin
if flag=0 then
input<="00000";
flag<=1;
end if;
end process initialize;
it legal and/or common thing to do? will it works?