Initial commit
This commit is contained in:
@ -0,0 +1,33 @@
|
||||
--==============================================================================
|
||||
--
|
||||
-- AHB general purpose input/outputs
|
||||
--
|
||||
-- Provides "ioNb" input/output signals .
|
||||
--
|
||||
--------------------------------------------------------------------------------
|
||||
--
|
||||
-- Write registers
|
||||
--
|
||||
-- 00, data register receives the values to drive the output lines.
|
||||
-- 01, output enable register defines the signal direction:
|
||||
-- when '1', the direction is "out".
|
||||
--
|
||||
--------------------------------------------------------------------------------
|
||||
--
|
||||
-- Read registers
|
||||
-- 00, data register provides the values detected on the lines.
|
||||
--
|
||||
ARCHITECTURE studentVersion OF ahbGpio IS
|
||||
BEGIN
|
||||
|
||||
-- AHB-Lite
|
||||
hRData <= (OTHERS => '0');
|
||||
hReady <= '0';
|
||||
hResp <= '0';
|
||||
|
||||
-- Out
|
||||
ioOut <= (OTHERS => '0');
|
||||
ioEn <= (OTHERS => '0');
|
||||
|
||||
END ARCHITECTURE studentVersion;
|
||||
|
@ -0,0 +1,36 @@
|
||||
--==============================================================================
|
||||
--
|
||||
-- AHB UART
|
||||
--
|
||||
-- Implements a serial port.
|
||||
--
|
||||
--------------------------------------------------------------------------------
|
||||
--
|
||||
-- Write registers
|
||||
--
|
||||
-- 00, data register receives the word to be sent to the serial port.
|
||||
-- 01, control register is used to control the peripheral.
|
||||
-- 02, scaler register is used to set the baud rate.
|
||||
--
|
||||
--------------------------------------------------------------------------------
|
||||
--
|
||||
-- Read registers
|
||||
-- 00, data register provides the last word received by the serial port.
|
||||
-- 01, status register is used to get the peripheral's state.
|
||||
-- bit 0: data ready for read
|
||||
-- bit 1: sending in progress
|
||||
-- bit 2: receiving in progress
|
||||
--
|
||||
ARCHITECTURE studentVersion OF ahbUart IS
|
||||
BEGIN
|
||||
|
||||
-- AHB-Lite
|
||||
hRData <= (OTHERS => '0');
|
||||
hReady <= '0';
|
||||
hResp <= '0';
|
||||
|
||||
-- Serial
|
||||
TxD <= '0';
|
||||
|
||||
END ARCHITECTURE studentVersion;
|
||||
|
@ -0,0 +1 @@
|
||||
DIALECT atom VHDL_2008
|
@ -0,0 +1 @@
|
||||
DIALECT atom VHDL_2008
|
@ -0,0 +1 @@
|
||||
DIALECT atom VHDL_ANY
|
@ -0,0 +1 @@
|
||||
DIALECT atom VHDL_ANY
|
@ -0,0 +1,2 @@
|
||||
DEFAULT_ARCHITECTURE atom studentVersion
|
||||
DEFAULT_FILE atom ahbGpio_studentVersion.vhd
|
@ -0,0 +1,2 @@
|
||||
DEFAULT_ARCHITECTURE atom studentVersion
|
||||
DEFAULT_FILE atom ahbUart_studentVersion.vhd
|
2149
06-07-08-09-SystemOnChip/AhbLiteComponents/hds/ahb@gpio/symbol.sb
Normal file
2149
06-07-08-09-SystemOnChip/AhbLiteComponents/hds/ahb@gpio/symbol.sb
Normal file
File diff suppressed because it is too large
Load Diff
2089
06-07-08-09-SystemOnChip/AhbLiteComponents/hds/ahb@uart/symbol.sb
Normal file
2089
06-07-08-09-SystemOnChip/AhbLiteComponents/hds/ahb@uart/symbol.sb
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user