- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
i am using ciclone 2. i do vhdl module and i want to ask is it possible itnernal signal to be part of sensitive list of process:
process (clock, second, ten_7segment_sign_vector , q_2_HOURS_vect_signal, ten_hours_signal_vector , two_hours_vect_signal )
begin
--if ((ten_7segment_sign_vector = "0100") and (q_2_HOURS_vect_signal = "1001") and (hours_10_signal_vect = "0011" ) and (hours_2_signal_vect = "0010") ) then
--if ((ten_7segment_sign_vector = "1001") and (q_2_HOURS_vect_signal = "0101")) then
if (second'event and second = '0') then
if ((ten_7segment_sign_vector = "1001") and (q_2_HOURS_vect_signal = "0101")) then
if ( (ten_hours_signal_vector = "0011") and (two_hours_vect_signal = "0010") ) then
-- rst2_signal <= '1';
--resert10hours <= '1';
rst10_signal <= '1';
--rst10hours <= '1';
reset_10_hours <= '1' ;
reset_2_hour <= '1';
reset_2_hours <= '1';
else
reset_2_hours <= '0';
reset_10_hours <= '0' ;
rst10_signal <= '1';
reset_2_hour <= '1';
end if;
else
reset_10_hours <= '0';
-- rst2_signal <= '0';
--resert10hours <= '0';
rst10_signal <= '0';
--rst10hours <= '0';
reset_2_hour <= '0';
reset_2_hours <= '0';
end if ;
end if ;
end process;
where second is internal signal used as clock
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, but what you are doing is very bad. Use the clock as a clock ONLY. dont make your own clocks unless they are the output of a PLL.
Generate enable signals instead.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page