NET "PCI_PAR" LOC = "A9" | IOSTANDARD = PCI33_3 | SLEW = FAST ;
NET "LED5" LOC = "AB4" | IOSTANDARD = LVCMOS33 ;
NET "LED4" LOC = "AA4" | IOSTANDARD = LVCMOS33 ;
+NET "IDE1" LOC = "Y1" | IOSTANDARD = LVCMOS33 ;
+NET "IDE2" LOC = "M6" | IOSTANDARD = LVCMOS33 ;
+NET "IDE3" LOC = "M5" | IOSTANDARD = LVCMOS33 ;
+NET "IDE4" LOC = "U2" | IOSTANDARD = LVCMOS33 ;
led2_o : out std_logic;
led3_o : out std_logic;
led4_o : out std_logic;
- led5_o : out std_logic
+ led5_o : out std_logic;
+ led6_o : out std_logic;
+ led7_o : out std_logic;
+ led8_o : out std_logic;
+ led9_o : out std_logic
);
end heartbeat;
process(clk_i, nrst_i)
variable counter : std_logic_vector(31 downto 0);
-variable state : std_logic_vector(3 downto 0) := "0001";
+variable state : std_logic_vector(7 downto 0) := "00000001";
variable direction : std_logic := '0';
begin
led3_o <= state(1);
led4_o <= state(2);
led5_o <= state(3);
+ led6_o <= state(4);
+ led7_o <= state(5);
+ led8_o <= state(6);
+ led9_o <= state(7);
counter := counter + 1;
if counter = divider then
- if state(3) = '1' then
+ if state(7) = '1' then
direction := '1';
end if;
end if;
if direction = '0' then
- state(3 downto 1) := state(2 downto 0);
+ state(7 downto 1) := state(6 downto 0);
state(0) := '0';
else
- state(2 downto 0) := state(3 downto 1);
- state(3) := '0';
+ state(6 downto 0) := state(7 downto 1);
+ state(7) := '0';
end if;
counter := (others => '0');
end if;
LED3 : out std_logic;\r
LED2 : out std_logic;\r
LED4 : out std_logic;\r
- LED5 : out std_logic\r
+ LED5 : out std_logic;\r
+ IDE1 : out std_logic;\r
+ IDE2 : out std_logic;\r
+ IDE3 : out std_logic;\r
+ IDE4 : out std_logic\r
\r
);\r
end raggedstone;\r
led2_o : out std_logic;\r
led3_o : out std_logic;\r
led4_o : out std_logic;\r
- led5_o : out std_logic\r
+ led5_o : out std_logic;\r
+ led6_o : out std_logic;\r
+ led7_o : out std_logic;\r
+ led8_o : out std_logic;\r
+ led9_o : out std_logic\r
);\r
end component;\r
\r
led2_o => LED2,\r
led3_o => LED3,\r
led4_o => LED4,\r
- led5_o => LED5\r
+ led5_o => LED5,\r
+ led6_o => IDE1,\r
+ led7_o => IDE2,\r
+ led8_o => IDE3,\r
+ led9_o => IDE4\r
);\r
\r
end raggedstone_arch;\r
--- /dev/null
+_impact*
+_ngo
+ideboard-xcf02s.mcs
+ideboard-xcf02s.prm
+ideboard-xcf04s.mcs
+ideboard-xcf04s.prm
+ideboard.bgn
+ideboard.bit
+ideboard.bld
+ideboard.drc
+ideboard.lso
+ideboard.ncd
+ideboard.ngc
+ideboard.ngd
+ideboard.ngr
+ideboard.pad
+ideboard.par
+ideboard.pcf
+ideboard.syr
+ideboard.twr
+ideboard.twx
+ideboard.unroutes
+ideboard.xpi
+ideboard_map.map
+ideboard_map.mrp
+ideboard_map.ncd
+ideboard_map.ngm
+ideboard_pad.csv
+ideboard_pad.txt
+ideboard_summary.xml
+ideboard_usage.xml
+timing.twr
+xst
IDE_CHIP_SELECT_3P : out std_logic;
IDE_IRQ : out std_logic;
IDE_ACTIVITY : out std_logic;
- FPGA1 : out std_logic;
- FPGA2 : out std_logic;
- FPGA3 : out std_logic;
- FPGA4 : out std_logic;
+ FPGA1 : in std_logic;
+ FPGA2 : in std_logic;
+ FPGA3 : in std_logic;
+ FPGA4 : in std_logic;
FPGA5 : out std_logic;
FPGA6 : out std_logic;
FPGA7 : out std_logic;
architecture Behavioral of ide is
begin
- LED_1 <= '1';
- LED_2 <= '1';
- LED_3 <= '1';
- LED_4 <= '0';
+ LED_1 <= FPGA1;
+ LED_2 <= FPGA2;
+ LED_3 <= FPGA3;
+ LED_4 <= FPGA4;
end Behavioral;