Entity: wb_prn20b

Diagram

natural PRESC_SIZE natural DFLT_PRESC natural ADDR_SIZE natural wb_size std_logic reset std_logic clk std_logic_vector(ADDR_SIZE-1 downto 0) wbs_add std_logic_vector(wb_size-1 downto 0) wbs_writedata std_logic wbs_read std_logic wbs_write std_logic_vector(wb_size-1 downto 0) wbs_readdata std_logic wbs_read_ack std_logic_vector(PRESC_SIZE-1 downto 0) prescaler_o

Description


(c) Copyright: OscillatorIMP Digital Author : Gwenhael Goavec-Merougwenhael.goavec-merou@trabucayre.com

Creation date : 2018/06/11

Generics

Generic name Type Value Description
PRESC_SIZE natural 16
DFLT_PRESC natural 15
ADDR_SIZE natural 4
wb_size natural 16 Data port size for wishbone

Ports

Port name Direction Type Description
reset in std_logic Syscon signals
clk in std_logic
wbs_add in std_logic_vector(ADDR_SIZE-1 downto 0) Wishbone signals
wbs_writedata in std_logic_vector(wb_size-1 downto 0)
wbs_readdata out std_logic_vector(wb_size-1 downto 0)
wbs_read in std_logic
wbs_read_ack out std_logic
wbs_write in std_logic
prescaler_o out std_logic_vector(PRESC_SIZE-1 downto 0)

Signals

Name Type Description
readdata_s std_logic_vector(wb_size-1 downto 0)
readdata_next_s std_logic_vector(wb_size-1 downto 0)
prescaler_s std_logic_vector(PRESC_SIZE-1 downto 0)

Constants

Name Type Value Description
REG_PRESCALER std_logic_vector(ADDR_SIZE-1 downto 0) "0"

Processes

Description
manage register