Skip to content

Bubbler scrambler - IGNORE TB#11

Open
doc4science wants to merge 15 commits into
mainfrom
bubbler_scrambler
Open

Bubbler scrambler - IGNORE TB#11
doc4science wants to merge 15 commits into
mainfrom
bubbler_scrambler

Conversation

@doc4science
Copy link
Copy Markdown
Collaborator

Bubbler and Scrambler RTL, untested.

Ignore the TB files - they are NOT complete. RTL has not been run and likely contains errors.

Comment thread scrambler/rtl/scrambler.sv Outdated
Comment thread scrambler/rtl/scrambler.sv Outdated
Comment thread scrambler/rtl/scrambler.sv Outdated
Comment thread scrambler/rtl/scrambler.sv Outdated
Comment thread scrambler/rtl/scrambler.sv Outdated
Comment thread bubbler/rtl/bubbler.sv
Comment thread bubbler/rtl/bubbler.sv Outdated
Comment thread bubbler/rtl/bubbler.sv Outdated
Comment thread bubbler/rtl/bubbler.sv Outdated
Comment thread bubbler/rtl/bubbler.sv Outdated
Comment thread bubbler/rtl/bubbler.sv
end
end

always_ff @(posedge clk) begin
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The output port signals (_66b_o, valid_o) should technically use the pipeline module instead of a clocked block

Comment thread bubbler/rtl/bubbler.sv
end
end

assign _66b_o = output_q;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This seems unnecessary, just clock the outputs directly

Comment thread bubbler/rtl/bubbler.sv

always_ff @(posedge clk) begin
if(rst == 1'b1)begin
output_q <= '0;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also just reset valid_o to 0. That tells nextr module that the data isn't valid, it doesn't matter what the output data is if valid = 0. (better for routing)

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