Basys2-le oleks vaja luua taktigeneraator, mis pool sekundit on kõrges seisus ja pool sekundit madalas. Takt peab vilgutama ühte LED-i.
Kas selline kood peaks funktsioneerima? Süntaksi kontrollimisel vigu ei esine, aga "Implement design" korral ilmneb viga:
"ERROR:Pack:198 - NCD was not produced. All logic was removed from the design. This is usually due to having no input or output PAD connections in the design and no nets or symbols marked as 'SAVE'. You can either add PADs or 'SAVE' attributes to the design, or run 'map -u' to disable logic trimming in the mapper. For more information on trimming issues search the Xilinx Answers database for "ERROR:Pack:198" and read the Master Answer Record for MAP Trimming Issues."
Antud viga guugeldades eriti targemaks ei saanud. Oskab keegi aidata?
Kood:
entity takt is Port ( clk : out STD_LOGIC); end takt; architecture Behavioral of takt is SIGNAL clk_out : std_logic := '0'; begin process begin if clk_out = '0' then clk_out <= '1'; else clk_out <= '0'; end if; end process; clk <= clk_out; end Behavioral;
"ERROR:Pack:198 - NCD was not produced. All logic was removed from the design. This is usually due to having no input or output PAD connections in the design and no nets or symbols marked as 'SAVE'. You can either add PADs or 'SAVE' attributes to the design, or run 'map -u' to disable logic trimming in the mapper. For more information on trimming issues search the Xilinx Answers database for "ERROR:Pack:198" and read the Master Answer Record for MAP Trimming Issues."
Antud viga guugeldades eriti targemaks ei saanud. Oskab keegi aidata?
Comment