Skip to content

Instantly share code, notes, and snippets.

@mithro
Last active November 16, 2018 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mithro/e1f421d488cdc7fb57ca3320c4b667e4 to your computer and use it in GitHub Desktop.
Save mithro/e1f421d488cdc7fb57ca3320c4b667e4 to your computer and use it in GitHub Desktop.
module top(
	input clk16,
	output reg spiflash_cs_n,
	output reg spiflash_clk,
	output reg spiflash_mosi,
	input spiflash_miso,
	output spiflash_wp,
	output spiflash_hold,
	input serial_rx,
	output reg serial_tx,
	inout usb_d_p,
	inout usb_d_n,
	output usb_pullup,
	output user_led0
);

SB_IO #(
	.PIN_TYPE(6'b101001),
	.PULLUP(1'd0)
) SB_IO_1 (
	.D_OUT_0(usbdevice_usb_n_tx),
	.OUTPUT_ENABLE(usbdevice_usb_tx_en),
	.PACKAGE_PIN(usb_d_n),
	.D_IN_0(usbdevice_usb_n_rx_io)
);
Info: Routing..
ERROR: No wire found for port PACKAGE_PIN on destination cell SB_IO_1.
ERROR: Routing design failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment