
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Wb_led.vhd</id>
		<title>Wb led.vhd - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Wb_led.vhd"/>
		<link rel="alternate" type="text/html" href="http://armadeus.org/wiki/index.php?title=Wb_led.vhd&amp;action=history"/>
		<updated>2026-04-06T10:10:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://armadeus.org/wiki/index.php?title=Wb_led.vhd&amp;diff=3844&amp;oldid=prev</id>
		<title>FabienM: New page: &lt;source lang=&quot;VHDL&quot;&gt; library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.numeric_std.all;  ----------------------------------------------------------------------- 	Entity Wb_led is  ------...</title>
		<link rel="alternate" type="text/html" href="http://armadeus.org/wiki/index.php?title=Wb_led.vhd&amp;diff=3844&amp;oldid=prev"/>
				<updated>2008-03-31T14:16:00Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;lt;source lang=&amp;quot;VHDL&amp;quot;&amp;gt; library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.numeric_std.all;  ----------------------------------------------------------------------- 	Entity Wb_led is  ------...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;VHDL&amp;quot;&amp;gt;&lt;br /&gt;
library IEEE;&lt;br /&gt;
use IEEE.STD_LOGIC_1164.ALL;&lt;br /&gt;
use IEEE.numeric_std.all;&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
	Entity Wb_led is &lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
    port &lt;br /&gt;
    (&lt;br /&gt;
		-- Syscon signals&lt;br /&gt;
		wbc_candr_reset : in std_logic ;&lt;br /&gt;
		wbc_candr_clk	  : in std_logic ;&lt;br /&gt;
		-- Wishbone signals&lt;br /&gt;
		wbs_sled_writedata : in std_logic_vector( 15 downto 0);&lt;br /&gt;
		wbs_sled_readdata  : out std_logic_vector( 15 downto 0);&lt;br /&gt;
		wbs_sled_strobe    : in std_logic ;&lt;br /&gt;
		wbs_sled_write	  : in std_logic ;&lt;br /&gt;
		wbs_sled_ack	      : out std_logic;&lt;br /&gt;
		-- out signals&lt;br /&gt;
		gls_led_export : out std_logic &lt;br /&gt;
    );&lt;br /&gt;
end entity;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
Architecture Wb_led_1 of Wb_led is&lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
	signal reg : std_logic_vector( 15 downto 0);&lt;br /&gt;
begin&lt;br /&gt;
&lt;br /&gt;
-- connect led&lt;br /&gt;
gls_led_export &amp;lt;= reg(0);&lt;br /&gt;
&lt;br /&gt;
-- manage register&lt;br /&gt;
reg_bloc : process(wbc_candr_clk,wbc_candr_reset)&lt;br /&gt;
begin&lt;br /&gt;
	if wbc_candr_reset = '1' then &lt;br /&gt;
		reg &amp;lt;= (others =&amp;gt; '0');&lt;br /&gt;
	elsif rising_edge(wbc_candr_clk) then&lt;br /&gt;
		if ((wbs_sled_strobe and wbs_sled_write) = '1' ) then&lt;br /&gt;
			reg &amp;lt;= wbs_sled_writedata;&lt;br /&gt;
		else&lt;br /&gt;
			reg &amp;lt;= reg;&lt;br /&gt;
		end if;&lt;br /&gt;
	end if;&lt;br /&gt;
&lt;br /&gt;
end process reg_bloc;&lt;br /&gt;
&lt;br /&gt;
wbs_sled_ack &amp;lt;= wbs_sled_strobe;&lt;br /&gt;
wbs_sled_readdata &amp;lt;= reg;&lt;br /&gt;
&lt;br /&gt;
end architecture Wb_led_1;         &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>FabienM</name></author>	</entry>

	</feed>