Skip to content

develop #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,6 @@ Where the testbench structure is,

_A synchronous lifo using dual-port synchronous RAM._

* [lifo_asynchronous](https://github.com/JeffDeCola/my-verilog-examples/tree/master/sequential-logic/memory/lifo_asynchronous)

_An asynchronous lifo using dual-port asynchronous RAM._

* REGISTERS

* [jeff_74x377](https://github.com/JeffDeCola/my-verilog-examples/tree/master/sequential-logic/registers/jeff_74x377)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ The output of the test,
```text
TEST START --------------------------------


| TIME(ns) | EN | D | Q |
---------------------------
1 INIT | 15 | 1 | 0 | 0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ module D_FLIP_FLOP_POS_EDGE_SYNC_EN_TB ();
$display();
$display("TEST START --------------------------------");
$display();
$display(" ");
$display(" | TIME(ns) | EN | D | Q |");
$display(" ---------------------------");
// $monitor("%4d %10s | %8d | %d | %1d | %1d |", VECTORCOUNT, COMMENT, $time, EN, D, Q_beh);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ The output of the test,
```text
TEST START --------------------------------


| TIME(ns) | CLRBAR | J | K | Q |
-----------------------------------
1 INIT | 22 | 1 | 0 | 0 | x |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ module JK_FLIP_FLOP_POS_EDGE_SYNC_CLEAR_TB ();
$display();
$display("TEST START --------------------------------");
$display();
$display(" ");
$display(" | TIME(ns) | CLRBAR | J | K | Q |");
$display(" -----------------------------------");
// $monitor("%4d %10s | %8d | %1d | %1d | %1d | %1d |", VECTORCOUNT, COMMENT, $time, CLRBAR, J, K, Q_beh);
Expand Down
Binary file modified docs/pics/sequential-logic/lifo_compare_and_status.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ behavioral model,
if (we_A) begin
mem[addr_A] <= data_in_A;
data_out_A <= data_in_A;
// READ
// READ
end else begin
data_out_A <= mem[addr_A];
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module dual_port_ram_asynchronous_behavioral(
if (we_A) begin
mem[addr_A] <= data_in_A;
data_out_A <= data_in_A;
// READ
// READ
end else begin
data_out_A <= mem[addr_A];
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ behavioral model,
if (we_A) begin
mem[addr_A] <= data_in_A;
data_out_A <= data_in_A;
// READ
// READ
end else begin
data_out_A <= mem[addr_A];
end
Expand Down
4 changes: 2 additions & 2 deletions sequential-logic/memory/lifo_synchronous/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ would take up more real estate than it's worth.
if (rst) begin
wrt_ptr <= 4'b0000;
rd_ptr <= 4'b0000;
// BOTTOM - PUSH
// BOTTOM - PUSH
end else if ((wrt_ptr == 4'b0000) & (w_next)) begin
wrt_ptr <= wrt_ptr + 1;
// BOTTOM - POP
Expand All @@ -126,7 +126,7 @@ would take up more real estate than it's worth.
end else if (w_next) begin
wrt_ptr <= wrt_ptr + 1;
rd_ptr <= rd_ptr + 1;
// POP
// POP
end else if (r_next) begin
wrt_ptr <= wrt_ptr - 1;
rd_ptr <= rd_ptr - 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module stack_ptr_control (
if (rst) begin
wrt_ptr <= 4'b0000;
rd_ptr <= 4'b0000;
// BOTTOM - PUSH
// BOTTOM - PUSH
end else if ((wrt_ptr == 4'b0000) & (w_next)) begin
wrt_ptr <= wrt_ptr + 1;
// BOTTOM - POP
Expand All @@ -24,7 +24,7 @@ module stack_ptr_control (
end else if (w_next) begin
wrt_ptr <= wrt_ptr + 1;
rd_ptr <= rd_ptr + 1;
// POP
// POP
end else if (r_next) begin
wrt_ptr <= wrt_ptr - 1;
rd_ptr <= rd_ptr - 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ behavioral model,
if (we) begin
mem[addr] <= data_in;
data_out <= data_in;
// READ
// READ
end else begin
data_out <= mem[addr];
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module single_port_ram_synchronous_behavioral(
if (we) begin
mem[addr] <= data_in;
data_out <= data_in;
// READ
// READ
end else begin
data_out <= mem[addr];
end
Expand Down