Skip to content

CIC wrap#54

Open
David-Daminelli wants to merge 5 commits intomasterfrom
cic-wrap
Open

CIC wrap#54
David-Daminelli wants to merge 5 commits intomasterfrom
cic-wrap

Conversation

@David-Daminelli
Copy link
Copy Markdown
Collaborator

No description provided.

@guilhermerc
Copy link
Copy Markdown
Contributor

Hi. Is this still draft?

@David-Daminelli David-Daminelli changed the title draft: Cic wrap Cic wrap Feb 3, 2026
@David-Daminelli
Copy link
Copy Markdown
Collaborator Author

Hi. Is this still draft?

Nope, just updated it.

@David-Daminelli David-Daminelli force-pushed the cic-wrap branch 2 times, most recently from de017eb to df26c9f Compare February 6, 2026 12:39
@guilhermerc guilhermerc changed the title Cic wrap CIC wrap Feb 9, 2026
Copy link
Copy Markdown
Contributor

@guilhermerc guilhermerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On commit messages:

93e549f:

Use g_max_rate instead of g_bus_width

Use the generic g_max_rate instead of to define the internal counter width.

c524622:

Added CIC wrapper

Add a wrapper for cic_decim and decimation_strober modules . Also add its testbench.

Comment thread hdl/modules/cic/cic_decim.vhd Outdated
Comment thread hdl/modules/cic/cic_decim.vhd Outdated
Comment thread hdl/testbench/cic_decim/cic_decim_tb.vhd Outdated
Comment thread hdl/modules/cic/decimation_strober.vhd Outdated
Comment thread hdl/modules/cic/decimation_strober.vhd Outdated
Comment thread hdl/modules/cic/cic_wrap.vhd
Comment thread hdl/modules/cic/cic_wrap.vhd Outdated
Comment thread hdl/testbench/cic_wrap/cic_wrap_tb.vhd Outdated
Comment thread hdl/testbench/cic_wrap/Manifest.py
Comment thread hdl/modules/cic/cic_wrap.vhd Outdated
The right bitgrowth to avoid overflow is calculated by using the maximum
decimation rate. It is more intuitive to use this directly instead.
Use the generic g_maxrate to define the internal counter width. The
generic g_bus_width is now dummy and kept only for compatiblity.
Add a wrapper for cic_decim and decimation_strober modules . Also add its
testbench.
The decimation_strober now only starts counting when the valid flag is high.
It was necessary to adapt the input signal generation script so that the
Python model would remain consistent with the VHDL core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants