Skip to content

Commit

Permalink
refactor(ada_top.v): change mock ad data to follow da data
Browse files Browse the repository at this point in the history
  • Loading branch information
Sped0n committed Oct 10, 2023
1 parent 2b0b219 commit 5a6871d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ada.srcs/design/ada_top.v
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module ada_top (
assign ad_clk = clk_25m; // adc clock is 25MHz
assign buzzer = ad_otr; // buzzer is on when adc data is over range
assign led = (~filtered_keys) | acquisition_state; // led is on when any key is pressed
assign mock_ad_data = ad_data - 8'd128; // mock adc data
assign mock_ad_data = da_data; // mock adc data

// pll
clk_wiz_0 pll_ad_da (
Expand Down
11 changes: 5 additions & 6 deletions ada.xpr
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<Option Name="IPUserFilesDir" Val="$PIPUSERFILESDIR"/>
<Option Name="IPStaticSourceDir" Val="$PIPUSERFILESDIR/ipstatic"/>
<Option Name="EnableBDX" Val="FALSE"/>
<Option Name="WTXSimLaunchSim" Val="461"/>
<Option Name="WTXSimLaunchSim" Val="467"/>
<Option Name="WTModelSimLaunchSim" Val="0"/>
<Option Name="WTQuestaLaunchSim" Val="0"/>
<Option Name="WTIesLaunchSim" Val="0"/>
Expand Down Expand Up @@ -358,31 +358,31 @@
<Attr Name="UsedIn" Val="simulation"/>
</FileInfo>
</File>
<File Path="$PSRCDIR/testbench/tb_acquisition_pulse_gen.v">
<File Path="$PSRCDIR/testbench/tb_acquisition_ctl_uart.v">
<FileInfo>
<Attr Name="AutoDisabled" Val="1"/>
<Attr Name="UsedIn" Val="synthesis"/>
<Attr Name="UsedIn" Val="implementation"/>
<Attr Name="UsedIn" Val="simulation"/>
</FileInfo>
</File>
<File Path="$PSRCDIR/testbench/tb_acquisition_send_uart.v">
<File Path="$PSRCDIR/testbench/tb_acquisition_pulse_gen.v">
<FileInfo>
<Attr Name="AutoDisabled" Val="1"/>
<Attr Name="UsedIn" Val="synthesis"/>
<Attr Name="UsedIn" Val="implementation"/>
<Attr Name="UsedIn" Val="simulation"/>
</FileInfo>
</File>
<File Path="$PSRCDIR/testbench/tb_acquisition_uart.v">
<File Path="$PSRCDIR/testbench/tb_acquisition_send_uart.v">
<FileInfo>
<Attr Name="AutoDisabled" Val="1"/>
<Attr Name="UsedIn" Val="synthesis"/>
<Attr Name="UsedIn" Val="implementation"/>
<Attr Name="UsedIn" Val="simulation"/>
</FileInfo>
</File>
<File Path="$PSRCDIR/testbench/tb_acquisition_ctl_uart.v">
<File Path="$PSRCDIR/testbench/tb_acquisition_uart.v">
<FileInfo>
<Attr Name="AutoDisabled" Val="1"/>
<Attr Name="UsedIn" Val="synthesis"/>
Expand Down Expand Up @@ -464,7 +464,6 @@
</File>
<File Path="$PPRDIR/assets/wcfg/tb_acquisition_ctl_uart_behav.wcfg">
<FileInfo>
<Attr Name="UserDisabled" Val="1"/>
<Attr Name="UsedIn" Val="simulation"/>
</FileInfo>
</File>
Expand Down

0 comments on commit 5a6871d

Please sign in to comment.