FC2カウンター FPGAの部屋 Vivado 2013.4でAXI VDMAを使ったカメラ表示回路の作製6(配置制約)

FPGAやCPLDの話題やFPGA用のツールの話題などです。 マニアックです。 日記も書きます。

FPGAの部屋

FPGAの部屋の有用と思われるコンテンツのまとめサイトを作りました。Xilinx ISEの初心者の方には、FPGAリテラシーおよびチュートリアルのページをお勧めいたします。

Vivado 2013.4でAXI VDMAを使ったカメラ表示回路の作製6(配置制約)

Vivado 2013.4でAXI VDMAを使ったカメラ表示回路の作製5(タイミング制約)”の続き。

今回はIOピンの配置とIOSTANDARD、できれば、FFのIOBへの配置を成約する。

・まずは、location.xdc を作製した。(手抜きした、作製の手順は、”Vivado 2013.4でAXI VDMAを使ったカメラ表示回路の作製4”を参照)
Cam_VDMA_94_140118.png

・黄色のワーニングが出てきたので、Reloadをクリックして、Synthesized Design を開き直した。

・下のIOポートで、IOポートの配置を成約する。最初は、mt9d111_pclk を制約した。

・I/O Std を LVCMOS33 に変更して、mt9d111_pclk を上のPackage のPin にドラック&ドロップして配置を決定した。
Cam_VDMA_95_140118.png

・すべてのピン配置を固定して、IOSTANDARDを固定した。
Cam_VDMA_100_140119.png

・timing.xdc を下に示す。

create_clock -period 28.000 -name pclk -waveform {0.000 14.000} [get_ports mt9d111_pclk]
set_input_delay -clock [get_clocks pclk] -rise 11.000 [get_ports {mt9d111_cam_data[0] mt9d111_cam_data[1] mt9d111_cam_data[2] mt9d111_cam_data[3] mt9d111_cam_data[4] mt9d111_cam_data[5] mt9d111_cam_data[6] mt9d111_cam_data[7] mt9d111_href mt9d111_pclk mt9d111_vsync}]


・location.xdc を下に示す。

set_property IOSTANDARD LVCMOS33 [get_ports {vga_blue[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_blue[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_blue[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_blue[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_green[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_green[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_green[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_green[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_red[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_red[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_red[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {vga_red[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[15]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[14]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[13]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[12]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[11]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[10]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[9]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[8]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[7]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[6]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[5]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[4]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {hdmi_data[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[7]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[6]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[5]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[4]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {mt9d111_cam_data[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_pclk]
set_property PACKAGE_PIN AA9 [get_ports mt9d111_pclk]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_standby]
set_property PACKAGE_PIN Y10 [get_ports mt9d111_standby]
set_property PACKAGE_PIN V13 [get_ports {hdmi_data[15]}]
set_property PACKAGE_PIN V14 [get_ports {hdmi_data[14]}]
set_property PACKAGE_PIN U17 [get_ports {hdmi_data[13]}]
set_property PACKAGE_PIN V15 [get_ports {hdmi_data[12]}]
set_property PACKAGE_PIN W15 [get_ports {hdmi_data[11]}]
set_property PACKAGE_PIN W13 [get_ports {hdmi_data[10]}]
set_property PACKAGE_PIN Y15 [get_ports {hdmi_data[9]}]
set_property PACKAGE_PIN AA17 [get_ports {hdmi_data[8]}]
set_property PACKAGE_PIN AB17 [get_ports {hdmi_data[7]}]
set_property PACKAGE_PIN AA16 [get_ports {hdmi_data[6]}]
set_property PACKAGE_PIN AB16 [get_ports {hdmi_data[5]}]
set_property PACKAGE_PIN AB15 [get_ports {hdmi_data[4]}]
set_property PACKAGE_PIN Y14 [get_ports {hdmi_data[3]}]
set_property PACKAGE_PIN AA14 [get_ports {hdmi_data[2]}]
set_property PACKAGE_PIN AA13 [get_ports {hdmi_data[1]}]
set_property PACKAGE_PIN Y13 [get_ports {hdmi_data[0]}]
set_property SLEW FAST [get_ports {hdmi_data[15]}]
set_property SLEW FAST [get_ports {hdmi_data[14]}]
set_property SLEW FAST [get_ports {hdmi_data[13]}]
set_property SLEW FAST [get_ports {hdmi_data[12]}]
set_property SLEW FAST [get_ports {hdmi_data[11]}]
set_property SLEW FAST [get_ports {hdmi_data[10]}]
set_property SLEW FAST [get_ports {hdmi_data[9]}]
set_property SLEW FAST [get_ports {hdmi_data[8]}]
set_property SLEW FAST [get_ports {hdmi_data[7]}]
set_property SLEW FAST [get_ports {hdmi_data[6]}]
set_property SLEW FAST [get_ports {hdmi_data[5]}]
set_property SLEW FAST [get_ports {hdmi_data[4]}]
set_property SLEW FAST [get_ports {hdmi_data[3]}]
set_property SLEW FAST [get_ports {hdmi_data[2]}]
set_property SLEW FAST [get_ports {hdmi_data[1]}]
set_property SLEW FAST [get_ports {hdmi_data[0]}]
set_property SLEW FAST [get_ports {vga_blue[3]}]
set_property SLEW FAST [get_ports {vga_blue[2]}]
set_property SLEW FAST [get_ports {vga_blue[1]}]
set_property SLEW FAST [get_ports {vga_blue[0]}]
set_property SLEW FAST [get_ports {vga_green[3]}]
set_property SLEW FAST [get_ports {vga_green[2]}]
set_property SLEW FAST [get_ports {vga_green[1]}]
set_property SLEW FAST [get_ports {vga_green[0]}]
set_property PACKAGE_PIN W12 [get_ports {mt9d111_cam_data[7]}]
set_property PACKAGE_PIN V12 [get_ports {mt9d111_cam_data[6]}]
set_property PACKAGE_PIN W11 [get_ports {mt9d111_cam_data[5]}]
set_property PACKAGE_PIN W10 [get_ports {mt9d111_cam_data[4]}]
set_property PACKAGE_PIN V10 [get_ports {mt9d111_cam_data[3]}]
set_property PACKAGE_PIN V9 [get_ports {mt9d111_cam_data[2]}]
set_property PACKAGE_PIN W8 [get_ports {mt9d111_cam_data[1]}]
set_property PACKAGE_PIN V8 [get_ports {mt9d111_cam_data[0]}]
set_property PACKAGE_PIN AB19 [get_ports {vga_blue[3]}]
set_property PACKAGE_PIN AB20 [get_ports {vga_blue[2]}]
set_property PACKAGE_PIN Y20 [get_ports {vga_blue[1]}]
set_property PACKAGE_PIN Y21 [get_ports {vga_blue[0]}]
set_property PACKAGE_PIN AA21 [get_ports {vga_green[3]}]
set_property PACKAGE_PIN AB21 [get_ports {vga_green[2]}]
set_property PACKAGE_PIN AA22 [get_ports {vga_green[1]}]
set_property PACKAGE_PIN AB22 [get_ports {vga_green[0]}]
set_property PACKAGE_PIN V20 [get_ports {vga_red[0]}]
set_property PACKAGE_PIN U20 [get_ports {vga_red[1]}]
set_property PACKAGE_PIN V19 [get_ports {vga_red[2]}]
set_property PACKAGE_PIN V18 [get_ports {vga_red[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_clk]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_data_e]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_hsync]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_iic_Scl]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_iic_Sda]
set_property IOSTANDARD LVCMOS33 [get_ports hdmi_vsync]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_href]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_Scl]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_Sda]
set_property PULLUP true [get_ports mt9d111_Scl]
set_property PULLUP true [get_ports mt9d111_Sda]
set_property PACKAGE_PIN W18 [get_ports hdmi_clk]
set_property PACKAGE_PIN U16 [get_ports hdmi_data_e]
set_property PACKAGE_PIN V17 [get_ports hdmi_hsync]
set_property PACKAGE_PIN AA18 [get_ports hdmi_iic_Scl]
set_property PACKAGE_PIN Y16 [get_ports hdmi_iic_Sda]
set_property PACKAGE_PIN W17 [get_ports hdmi_vsync]
set_property PACKAGE_PIN AB10 [get_ports mt9d111_href]
set_property PACKAGE_PIN Y11 [get_ports mt9d111_Scl]
set_property PACKAGE_PIN AB11 [get_ports mt9d111_Sda]
set_property IOSTANDARD LVCMOS33 [get_ports mt9d111_vsync]
set_property IOSTANDARD LVCMOS33 [get_ports vga_vsync]
set_property IOSTANDARD LVCMOS33 [get_ports vga_hsync]
set_property PACKAGE_PIN AA11 [get_ports mt9d111_vsync]
set_property PACKAGE_PIN Y19 [get_ports vga_vsync]
set_property SLEW FAST [get_ports {vga_red[3]}]
set_property SLEW FAST [get_ports {vga_red[2]}]
set_property SLEW FAST [get_ports {vga_red[1]}]
set_property SLEW FAST [get_ports {vga_red[0]}]
set_property SLEW FAST [get_ports hdmi_clk]
set_property SLEW FAST [get_ports hdmi_data_e]
set_property SLEW FAST [get_ports hdmi_hsync]
set_property SLEW FAST [get_ports hdmi_vsync]
set_property SLEW FAST [get_ports vga_hsync]
set_property SLEW FAST [get_ports vga_vsync]
set_property PACKAGE_PIN AA19 [get_ports vga_hsync]
set_property IOSTANDARD LVTTL [get_ports mt9d111_xck]
set_property PACKAGE_PIN AA8 [get_ports mt9d111_xck]


Vivado 2013.4でAXI VDMAを使ったカメラ表示回路の作製7(インプリメント)”に続く。
  1. 2014年01月19日 07:28 |
  2. Vivado
  3. | トラックバック:0
  4. | コメント:0

コメント

コメントの投稿


管理者にだけ表示を許可する

トラックバック URL
http://marsee101.blog19.fc2.com/tb.php/2716-51b6a546
この記事にトラックバックする(FC2ブログユーザー)