Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
FPGA Hi-Simulate: Added 212kHz SSP-Clock option
Browse files Browse the repository at this point in the history
  • Loading branch information
drandreas committed Sep 5, 2018
1 parent ea6fc23 commit 755e486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file modified fpga/fpga_hf.bit
Binary file not shown.
7 changes: 5 additions & 2 deletions fpga/hi_simulate.v
Expand Up @@ -65,9 +65,12 @@ begin
if(mod_type == 3'b101)
// Get bit every at 53KHz (every 8th carrier bit of 424kHz)
ssp_clk <= ssp_clk_divider[7];
else if(mod_type == 3'b010)
// Get next bit at 212kHz
ssp_clk <= ssp_clk_divider[5];
else
// Get next bit at 424Khz
ssp_clk <= ssp_clk_divider[4]
ssp_clk <= ssp_clk_divider[4];
end


Expand Down Expand Up @@ -121,6 +124,6 @@ assign pwr_oe4 = modulating_carrier;
// This one is always on, so that we can watch the carrier.
assign pwr_oe3 = 1'b0;

assign dbg = modulating_carrier;
assign dbg = ssp_din;

endmodule

0 comments on commit 755e486

Please sign in to comment.