daq3/a10gx: updated to a10gx/quartus

main
Rejeesh Kutty 2015-12-11 12:49:25 -05:00
parent 4c2d08a9be
commit 6a9d1c431a
1 changed files with 14 additions and 11 deletions

View File

@ -195,16 +195,6 @@ module system_top (
// daq3
assign sysref = gpio_o[40];
assign adc_pd = gpio_o[38:38];
assign dac_txen = gpio_o[37:37];
assign gpio_i[39:39] = trig;
assign gpio_i[36:36] = adc_fdb;
assign gpio_i[35:35] = adc_fda;
assign gpio_i[34:34] = dac_irq;
assign gpio_i[33:32] = clkd_status;
assign spi_csn_adc = spi_csn_s[2];
assign spi_csn_dac = spi_csn_s[1];
assign spi_csn_clk = spi_csn_s[0];
@ -217,6 +207,19 @@ module system_top (
.spi_sdio (spi_sdio),
.spi_dir (spi_dir));
// gpio in & out are separate cores
assign sysref = gpio_o[36];
assign adc_pd = gpio_o[35];
assign dac_txen = gpio_o[34];
assign gpio_i[63:38] = 26'd0;
assign gpio_i[37:37] = trig;
assign gpio_i[36:36] = adc_fdb;
assign gpio_i[35:35] = adc_fda;
assign gpio_i[34:34] = dac_irq;
assign gpio_i[33:32] = clkd_status;
// board stuff
assign eth_resetn = ~eth_reset;