Commit 50d22722 authored by Martin Jeřábek's avatar Martin Jeřábek

xilinx ip: add driver definition file, do not use VHDL 2008 features

parent ebe1dc74
......@@ -216,7 +216,7 @@ begin
end if;
end process;
p_async_common:process(all)
p_async_common:process
begin
if S_AXI_ARESETN = '0' then
reg_addr_o <= (others => '0');
......@@ -229,7 +229,7 @@ begin
end if;
end process;
p_async_read:process(all)
p_async_read:process
begin
if S_AXI_ARESETN /= '0' and read_in_progress = '1' then --and read_stage = 0 then
reg_rden_o <= '1';
......@@ -244,7 +244,7 @@ begin
end if;
end process;
p_async_write:process(all)
p_async_write:process
begin
if S_AXI_ARESETN /= '0' and write_in_progress = '1' and (write_stage = 0 or S_AXI_BREADY = '1') then
reg_be_o <= S_AXI_WSTRB;
......
......@@ -301,6 +301,12 @@
<spirit:fileSetRef>
<spirit:localName>xilinx_vhdlsynthesis_view_fileset</spirit:localName>
</spirit:fileSetRef>
<spirit:parameters>
<spirit:parameter>
<spirit:name>viewChecksum</spirit:name>
<spirit:value>361943d0</spirit:value>
</spirit:parameter>
</spirit:parameters>
</spirit:view>
<spirit:view>
<spirit:name>xilinx_vhdlbehavioralsimulation</spirit:name>
......@@ -311,11 +317,26 @@
<spirit:fileSetRef>
<spirit:localName>xilinx_vhdlbehavioralsimulation_view_fileset</spirit:localName>
</spirit:fileSetRef>
<spirit:parameters>
<spirit:parameter>
<spirit:name>viewChecksum</spirit:name>
<spirit:value>361943d0</spirit:value>
</spirit:parameter>
</spirit:parameters>
</spirit:view>
<spirit:view>
<spirit:name>xilinx_softwaredriver</spirit:name>
<spirit:displayName>Software Driver</spirit:displayName>
<spirit:envIdentifier>:vivado.xilinx.com:sw.driver</spirit:envIdentifier>
<spirit:fileSetRef>
<spirit:localName>xilinx_softwaredriver_view_fileset</spirit:localName>
</spirit:fileSetRef>
<spirit:parameters>
<spirit:parameter>
<spirit:name>viewChecksum</spirit:name>
<spirit:value>891209c9</spirit:value>
</spirit:parameter>
</spirit:parameters>
</spirit:view>
<spirit:view>
<spirit:name>xilinx_xpgui</spirit:name>
......@@ -911,6 +932,7 @@
<spirit:file>
<spirit:name>Libraries/CAN_FD_register_map.vhd</spirit:name>
<spirit:fileType>vhdlSource</spirit:fileType>
<spirit:userFileType>CHECKSUM_d2771ad5</spirit:userFileType>
</spirit:file>
</spirit:fileSet>
<spirit:fileSet>
......@@ -1028,10 +1050,17 @@
<spirit:fileType>vhdlSource</spirit:fileType>
</spirit:file>
</spirit:fileSet>
<spirit:fileSet>
<spirit:name>xilinx_softwaredriver_view_fileset</spirit:name>
<spirit:file>
<spirit:name>ip/CTU_CAN_FD_1.0/drivers/CTU_CAN_FD_v1_0/data/CTU_CAN_FD.mdd</spirit:name>
<spirit:userFileType>mdd</spirit:userFileType>
</spirit:file>
</spirit:fileSet>
<spirit:fileSet>
<spirit:name>xilinx_xpgui_view_fileset</spirit:name>
<spirit:file>
<spirit:name>ip/CTU_CAN_FD_1.0/xgui/CTU_CAN_FD_v1_0.tcl</spirit:name>
<spirit:name>xgui/CTU_CAN_FD_v1_0.tcl</spirit:name>
<spirit:fileType>tclSource</spirit:fileType>
<spirit:userFileType>CHECKSUM_72679e3d</spirit:userFileType>
<spirit:userFileType>XGUI_VERSION_2</spirit:userFileType>
......@@ -1159,17 +1188,17 @@
<xilinx:taxonomy>AXI_Peripheral</xilinx:taxonomy>
</xilinx:taxonomies>
<xilinx:displayName>CTU_CAN_FD_v1.0</xilinx:displayName>
<xilinx:coreRevision>10</xilinx:coreRevision>
<xilinx:coreCreationDateTime>2018-03-06T12:14:58Z</xilinx:coreCreationDateTime>
<xilinx:coreRevision>11</xilinx:coreRevision>
<xilinx:coreCreationDateTime>2018-04-06T11:52:27Z</xilinx:coreCreationDateTime>
<xilinx:tags>
<xilinx:tag xilinx:name="user.org:user:CTU_CAN_FD:1.0_ARCHIVE_LOCATION">ip/CTU_CAN_FD_1.0</xilinx:tag>
<xilinx:tag xilinx:name="user.org:user:CTU_CAN_FD:1.0_ARCHIVE_LOCATION">/home/martin/projects/cvut/bakalarka/canbench-sw/modules/CTU_CAN_FD/src</xilinx:tag>
</xilinx:tags>
</xilinx:coreExtensions>
<xilinx:packagingInfo>
<xilinx:xilinxVersion>2017.4</xilinx:xilinxVersion>
<xilinx:checksum xilinx:scope="busInterfaces" xilinx:value="544191d5"/>
<xilinx:checksum xilinx:scope="memoryMaps" xilinx:value="ed1368d5"/>
<xilinx:checksum xilinx:scope="fileGroups" xilinx:value="72317b20"/>
<xilinx:checksum xilinx:scope="fileGroups" xilinx:value="843857c3"/>
<xilinx:checksum xilinx:scope="ports" xilinx:value="dd2ca01e"/>
<xilinx:checksum xilinx:scope="hdlParameters" xilinx:value="354d864e"/>
<xilinx:checksum xilinx:scope="parameters" xilinx:value="bef1e4ab"/>
......
OPTION psf_version = 2.1;
BEGIN DRIVER can_crossbar
OPTION supported_peripherals = (CTU_CAN_FD);
OPTION copyfiles = all;
OPTION VERSION = 1.0;
OPTION NAME = CTU_CAN_FD;
END DRIVER
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment