क्यों बढ़ा नहीं सकता हूं यहां क्या हो रहा है? मुझे 'ऑपरेटर तर्क प्रकार मिस्चैच' क्यों मिल रहा है, और मैं इसे ठीक करने के लिए क्या कर सकता हूं?मैं इस `std_logic_vector`
--
-- 32-bit counter with enable and async reset
--
architecture synthesis1 of counter_32bit is
signal nextvalue : std_logic_vector (31 downto 0);
begin
--
-- combo
--
nextvalue <= value + 1; -- here
--
-- sequential
--
ff:process(clk, rst)
begin
if(rst = '1') then
value <= 0; -- and here...
elsif(clk'event and (clk ='1')) then
if(ena = '1') then
value <= nextvalue;
end if;
end if;
end process ff;
end synthesis1;
धन्यवाद
'मूल्य' के प्रारंभिकरण के लिए, या तो' to_stdlogicvector (bit_vector '(X "0")) या केवल' एक्स "0" 'अगर सिम्युलेटर पर -v93 स्विच फिसल गया है। – Marty