remove xadc define and uncomment INTERNAL_VREF to make this work in openxc7 (openxc7 still fails due to shiftout ports)
This commit is contained in:
parent
42b42023dd
commit
47067f6903
|
|
@ -146,14 +146,14 @@
|
||||||
.uart_rx_data(rd_data) // The recieved data.
|
.uart_rx_data(rd_data) // The recieved data.
|
||||||
);
|
);
|
||||||
|
|
||||||
`define XADC
|
// `define XADC
|
||||||
`ifdef XADC
|
`ifdef XADC
|
||||||
xadc_wiz_0 xadc_inst (
|
xadc_wiz_0 xadc_inst (
|
||||||
.dclk_in(i_controller_clk), // Clock input for the dynamic reconfiguration port
|
.dclk_in(i_controller_clk), // Clock input for the dynamic reconfiguration port
|
||||||
.user_temp_alarm_out(user_temp_alarm_out) // Temperature-sensor alarm output
|
.user_temp_alarm_out(user_temp_alarm_out) // Temperature-sensor alarm output
|
||||||
);
|
);
|
||||||
`else
|
`else
|
||||||
user_temp_alarm_out = 1'b0;
|
assign user_temp_alarm_out = 1'b0;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
// UART module from https://github.com/alexforencich/verilog-uart (DOES NOT WORK ON OPENXC7, UberDDR3 cannot finish calibration when this UART is used)
|
// UART module from https://github.com/alexforencich/verilog-uart (DOES NOT WORK ON OPENXC7, UberDDR3 cannot finish calibration when this UART is used)
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,8 @@ set_property CONFIG_MODE SPIx4 [current_design]
|
||||||
## be set to enable an internal VREF for BANK 34. Since a 1.35v supply is being
|
## be set to enable an internal VREF for BANK 34. Since a 1.35v supply is being
|
||||||
## used the internal reference is set to half that value (i.e. 0.675v). Note that
|
## used the internal reference is set to half that value (i.e. 0.675v). Note that
|
||||||
## this property must be set even if SW3 is not used in the design.
|
## this property must be set even if SW3 is not used in the design.
|
||||||
set_property INTERNAL_VREF 0.675 [get_iobanks 34]
|
|
||||||
|
## COMMENT THIS OUT IF RUNNING IN OPENXC7 (OTHERWISE UNCOMMENT THIS)
|
||||||
|
# set_property INTERNAL_VREF 0.675 [get_iobanks 34]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue