Line 231... |
Line 231... |
IO_PWM_EN => true, -- implement pulse-width modulation unit (PWM)?
|
IO_PWM_EN => true, -- implement pulse-width modulation unit (PWM)?
|
IO_WDT_EN => true, -- implement watch dog timer (WDT)?
|
IO_WDT_EN => true, -- implement watch dog timer (WDT)?
|
IO_TRNG_EN => false, -- trng cannot be simulated
|
IO_TRNG_EN => false, -- trng cannot be simulated
|
IO_CFS_EN => true, -- implement custom functions subsystem (CFS)?
|
IO_CFS_EN => true, -- implement custom functions subsystem (CFS)?
|
IO_CFS_CONFIG => (others => '0'), -- custom CFS configuration generic
|
IO_CFS_CONFIG => (others => '0'), -- custom CFS configuration generic
|
IO_NCO_EN => true -- implement numerically-controlled oscillator (NCO)?
|
IO_CFS_IN_SIZE => 32, -- size of CFS input conduit in bits
|
|
IO_CFS_OUT_SIZE => 32, -- size of CFS output conduit in bits
|
|
IO_NCO_EN => true, -- implement numerically-controlled oscillator (NCO)?
|
|
IO_NEOLED_EN => true -- implement NeoPixel-compatible smart LED interface (NEOLED)?
|
)
|
)
|
port map (
|
port map (
|
-- Global control --
|
-- Global control --
|
clk_i => clk_gen, -- global clock, rising edge
|
clk_i => clk_gen, -- global clock, rising edge
|
rstn_i => rst_gen, -- global reset, low-active, async
|
rstn_i => rst_gen, -- global reset, low-active, async
|
Line 280... |
Line 283... |
-- Custom Functions Subsystem IO --
|
-- Custom Functions Subsystem IO --
|
cfs_in_i => (others => '0'), -- custom CFS inputs
|
cfs_in_i => (others => '0'), -- custom CFS inputs
|
cfs_out_o => open, -- custom CFS outputs
|
cfs_out_o => open, -- custom CFS outputs
|
-- NCO output (available if IO_NCO_EN = true) --
|
-- NCO output (available if IO_NCO_EN = true) --
|
nco_o => open, -- numerically-controlled oscillator channels
|
nco_o => open, -- numerically-controlled oscillator channels
|
|
-- NeoPixel-compatible smart LED interface (available if IO_NEOLED_EN = true) --
|
|
neoled_o => open, -- async serial data line
|
-- system time input from external MTIME (available if IO_MTIME_EN = false) --
|
-- system time input from external MTIME (available if IO_MTIME_EN = false) --
|
mtime_i => (others => '0'), -- current system time
|
mtime_i => (others => '0'), -- current system time
|
-- Interrupts --
|
-- Interrupts --
|
soc_firq_i => soc_firq_ring, -- fast interrupt channels
|
soc_firq_i => soc_firq_ring, -- fast interrupt channels
|
mtime_irq_i => '0', -- machine software interrupt, available if IO_MTIME_EN = false
|
mtime_irq_i => '0', -- machine software interrupt, available if IO_MTIME_EN = false
|