Skip to content

Commit 8aa799b

Browse files
committed
[CORRECTIVE] Fix erroneous example library files.
1 parent e84b610 commit 8aa799b

File tree

5 files changed

+26
-91
lines changed

5 files changed

+26
-91
lines changed

tut.fi/communication.bridge/wb_master_cpu_slave/1.0/wb_master_cpu_slave.1.0.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@
111111
</ipxact:abstractionType>
112112
</ipxact:abstractionTypes>
113113
<ipxact:master>
114-
<ipxact:addressSpaceRef ipxact:addressSpaceRef="wb_bus_space">
115-
<ipxact:baseAddress ipxact:addressSpaceRef="wb_bus_space">0</ipxact:baseAddress>
114+
<ipxact:addressSpaceRef addressSpaceRef="wb_bus_space">
115+
<ipxact:baseAddress>0</ipxact:baseAddress>
116116
</ipxact:addressSpaceRef>
117117
</ipxact:master>
118118
</ipxact:busInterface>

tut.fi/communication.bridge/wb_slave_spi_master/1.0/wb_slave_spi_master.1.0.xml

+6-32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ipxact:component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:kactus2="http://kactus2.cs.tut.fi" xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014/ http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">
2+
<ipxact:component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:kactus2="http://kactus2.cs.tut.fi" xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">
33
<ipxact:vendor>tut.fi</ipxact:vendor>
44
<ipxact:library>communication.bridge</ipxact:library>
55
<ipxact:name>wb_slave_spi_master</ipxact:name>
@@ -233,7 +233,6 @@
233233
<ipxact:access>write-only</ipxact:access>
234234
<ipxact:register>
235235
<ipxact:name>control</ipxact:name>
236-
<ipxact:dim>0</ipxact:dim>
237236
<ipxact:addressOffset>0</ipxact:addressOffset>
238237
<ipxact:size>8</ipxact:size>
239238
<ipxact:volatile>true</ipxact:volatile>
@@ -264,7 +263,6 @@
264263
<ipxact:access>read-only</ipxact:access>
265264
<ipxact:register>
266265
<ipxact:name>status</ipxact:name>
267-
<ipxact:dim>0</ipxact:dim>
268266
<ipxact:addressOffset>'h0</ipxact:addressOffset>
269267
<ipxact:size>8</ipxact:size>
270268
<ipxact:volatile>true</ipxact:volatile>
@@ -315,9 +313,6 @@
315313
</ipxact:wireTypeDef>
316314
</ipxact:wireTypeDefs>
317315
</ipxact:wire>
318-
<ipxact:vendorExtensions>
319-
<kactus2:portTags></kactus2:portTags>
320-
</ipxact:vendorExtensions>
321316
</ipxact:port>
322317
<ipxact:port>
323318
<ipxact:name>adr_i</ipxact:name>
@@ -331,9 +326,6 @@
331326
</ipxact:vector>
332327
</ipxact:vectors>
333328
</ipxact:wire>
334-
<ipxact:vendorExtensions>
335-
<kactus2:portTags></kactus2:portTags>
336-
</ipxact:vendorExtensions>
337329
</ipxact:port>
338330
<ipxact:port>
339331
<ipxact:name>cyc_i</ipxact:name>
@@ -347,9 +339,6 @@
347339
</ipxact:vector>
348340
</ipxact:vectors>
349341
</ipxact:wire>
350-
<ipxact:vendorExtensions>
351-
<kactus2:portTags></kactus2:portTags>
352-
</ipxact:vendorExtensions>
353342
</ipxact:port>
354343
<ipxact:port>
355344
<ipxact:name>dat_o</ipxact:name>
@@ -368,9 +357,6 @@
368357
</ipxact:wireTypeDef>
369358
</ipxact:wireTypeDefs>
370359
</ipxact:wire>
371-
<ipxact:vendorExtensions>
372-
<kactus2:portTags></kactus2:portTags>
373-
</ipxact:vendorExtensions>
374360
</ipxact:port>
375361
<ipxact:port>
376362
<ipxact:name>dat_i</ipxact:name>
@@ -384,9 +370,6 @@
384370
</ipxact:vector>
385371
</ipxact:vectors>
386372
</ipxact:wire>
387-
<ipxact:vendorExtensions>
388-
<kactus2:portTags></kactus2:portTags>
389-
</ipxact:vendorExtensions>
390373
</ipxact:port>
391374
<ipxact:port>
392375
<ipxact:name>stb_i</ipxact:name>
@@ -400,9 +383,6 @@
400383
</ipxact:vector>
401384
</ipxact:vectors>
402385
</ipxact:wire>
403-
<ipxact:vendorExtensions>
404-
<kactus2:portTags></kactus2:portTags>
405-
</ipxact:vendorExtensions>
406386
</ipxact:port>
407387
<ipxact:port>
408388
<ipxact:name>we_i</ipxact:name>
@@ -416,9 +396,6 @@
416396
</ipxact:vector>
417397
</ipxact:vectors>
418398
</ipxact:wire>
419-
<ipxact:vendorExtensions>
420-
<kactus2:portTags></kactus2:portTags>
421-
</ipxact:vendorExtensions>
422399
</ipxact:port>
423400
<ipxact:port>
424401
<ipxact:name>clk_i</ipxact:name>
@@ -463,9 +440,6 @@
463440
</ipxact:wireTypeDef>
464441
</ipxact:wireTypeDefs>
465442
</ipxact:wire>
466-
<ipxact:vendorExtensions>
467-
<kactus2:portTags></kactus2:portTags>
468-
</ipxact:vendorExtensions>
469443
</ipxact:port>
470444
<ipxact:port>
471445
<ipxact:name>clk_out</ipxact:name>
@@ -547,12 +521,12 @@
547521
</ipxact:fileSets>
548522
<ipxact:description>A bridge between an SPI slave and a Wishbone master.</ipxact:description>
549523
<ipxact:parameters>
550-
<ipxact:parameter parameterId="uuid_3452fcca_4cd2_458f_a644_4c6530ea74ed" resolve="user" usageCount="1">
524+
<ipxact:parameter kactus2:usageCount="1" parameterId="uuid_3452fcca_4cd2_458f_a644_4c6530ea74ed" resolve="user">
551525
<ipxact:name>ADDR_WIDTH</ipxact:name>
552526
<ipxact:description>The width of the address.</ipxact:description>
553527
<ipxact:value>16</ipxact:value>
554528
</ipxact:parameter>
555-
<ipxact:parameter parameterId="uuid_981f1b40_673e_44dc_a9c1_881b812f8ddd" resolve="user" usageCount="3">
529+
<ipxact:parameter kactus2:usageCount="3" parameterId="uuid_981f1b40_673e_44dc_a9c1_881b812f8ddd" resolve="user">
556530
<ipxact:name>DATA_WIDTH</ipxact:name>
557531
<ipxact:description>The width of both input and output data.</ipxact:description>
558532
<ipxact:value>32</ipxact:value>
@@ -562,7 +536,7 @@
562536
<ipxact:description>The first referred address of the master.</ipxact:description>
563537
<ipxact:value>'h0F00</ipxact:value>
564538
</ipxact:parameter>
565-
<ipxact:parameter parameterId="uuid_3928a897_9f75_4ed7_a9be_c68cadf66920" resolve="immediate" usageCount="8">
539+
<ipxact:parameter kactus2:usageCount="8" parameterId="uuid_3928a897_9f75_4ed7_a9be_c68cadf66920" resolve="immediate">
566540
<ipxact:name>BUFFER_SIZE</ipxact:name>
567541
<ipxact:description>How many bytes is allocated for a buffer.</ipxact:description>
568542
<ipxact:value>16</ipxact:value>
@@ -572,12 +546,12 @@
572546
<ipxact:description>How many bits are needed to index the buffer.</ipxact:description>
573547
<ipxact:value>$clog2(uuid_3928a897_9f75_4ed7_a9be_c68cadf66920)</ipxact:value>
574548
</ipxact:parameter>
575-
<ipxact:parameter parameterId="uuid_800a337a_29d2_423a_b1ca_fd57f6c75983" resolve="immediate" usageCount="1">
549+
<ipxact:parameter kactus2:usageCount="1" parameterId="uuid_800a337a_29d2_423a_b1ca_fd57f6c75983" resolve="immediate">
576550
<ipxact:name>CONTROL_SIZE</ipxact:name>
577551
<ipxact:description>How many bytes asre reserved for the control data.</ipxact:description>
578552
<ipxact:value>1</ipxact:value>
579553
</ipxact:parameter>
580-
<ipxact:parameter parameterId="uuid_1789a5ec_4856_4dfc_99e3_91a0777df0cc" resolve="immediate" usageCount="3">
554+
<ipxact:parameter kactus2:usageCount="3" parameterId="uuid_1789a5ec_4856_4dfc_99e3_91a0777df0cc" resolve="immediate">
581555
<ipxact:name>STATUS_SIZE</ipxact:name>
582556
<ipxact:description>How many bytes asre reserved for the status data.</ipxact:description>
583557
<ipxact:value>1</ipxact:value>

tut.fi/cpu.logic/memory_controller/1.0/memory_controller.1.0.xml

+10-23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ipxact:component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:kactus2="http://kactus2.cs.tut.fi" xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014/ http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">
2+
<ipxact:component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:kactus2="http://kactus2.cs.tut.fi" xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">
33
<ipxact:vendor>tut.fi</ipxact:vendor>
44
<ipxact:library>cpu.logic</ipxact:library>
55
<ipxact:name>memory_controller</ipxact:name>
@@ -65,8 +65,8 @@
6565
</ipxact:abstractionType>
6666
</ipxact:abstractionTypes>
6767
<ipxact:master>
68-
<ipxact:addressSpaceRef ipxact:addressSpaceRef="default">
69-
<ipxact:baseAddress ipxact:addressSpaceRef="default">uuid_e3b353a9_9c84_4f26_a9bf_8271de5b015c</ipxact:baseAddress>
68+
<ipxact:addressSpaceRef addressSpaceRef="default">
69+
<ipxact:baseAddress>uuid_e3b353a9_9c84_4f26_a9bf_8271de5b015c</ipxact:baseAddress>
7070
</ipxact:addressSpaceRef>
7171
</ipxact:master>
7272
</ipxact:busInterface>
@@ -296,7 +296,6 @@
296296
<ipxact:register>
297297
<ipxact:name>modstart</ipxact:name>
298298
<ipxact:description>Start address for modulo operation</ipxact:description>
299-
<ipxact:dim>0</ipxact:dim>
300299
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*1</ipxact:addressOffset>
301300
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
302301
<ipxact:field>
@@ -308,7 +307,6 @@
308307
<ipxact:register>
309308
<ipxact:name>modend</ipxact:name>
310309
<ipxact:description>End address for modulo operation</ipxact:description>
311-
<ipxact:dim>0</ipxact:dim>
312310
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*2</ipxact:addressOffset>
313311
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
314312
<ipxact:field>
@@ -320,7 +318,6 @@
320318
<ipxact:register>
321319
<ipxact:name>alu_status</ipxact:name>
322320
<ipxact:description>ALU status bits</ipxact:description>
323-
<ipxact:dim>0</ipxact:dim>
324321
<ipxact:addressOffset>0</ipxact:addressOffset>
325322
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
326323
<ipxact:access>read-only</ipxact:access>
@@ -352,7 +349,6 @@
352349
<ipxact:register>
353350
<ipxact:name>periph_status</ipxact:name>
354351
<ipxact:description>Status of the peripheral control.</ipxact:description>
355-
<ipxact:dim>0</ipxact:dim>
356352
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*3</ipxact:addressOffset>
357353
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
358354
<ipxact:field>
@@ -378,7 +374,6 @@
378374
<ipxact:register>
379375
<ipxact:name>periph_write</ipxact:name>
380376
<ipxact:description>The last value being written to perhiphreals.</ipxact:description>
381-
<ipxact:dim>0</ipxact:dim>
382377
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*5</ipxact:addressOffset>
383378
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
384379
<ipxact:field>
@@ -390,7 +385,6 @@
390385
<ipxact:register>
391386
<ipxact:name>periph_read</ipxact:name>
392387
<ipxact:description>The last value that is read from peripherals.</ipxact:description>
393-
<ipxact:dim>0</ipxact:dim>
394388
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*4</ipxact:addressOffset>
395389
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
396390
<ipxact:field>
@@ -402,7 +396,6 @@
402396
<ipxact:register>
403397
<ipxact:name>periph_addr</ipxact:name>
404398
<ipxact:description>The last accessed peripheral address.</ipxact:description>
405-
<ipxact:dim>0</ipxact:dim>
406399
<ipxact:addressOffset>uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab*6</ipxact:addressOffset>
407400
<ipxact:size>uuid_11795f77_041d_4548_bcf3_cd41b67482a1</ipxact:size>
408401
<ipxact:field>
@@ -555,9 +548,6 @@
555548
</ipxact:vector>
556549
</ipxact:vectors>
557550
</ipxact:wire>
558-
<ipxact:vendorExtensions>
559-
<kactus2:portTags></kactus2:portTags>
560-
</ipxact:vendorExtensions>
561551
</ipxact:port>
562552
<ipxact:port>
563553
<ipxact:name>rst_i</ipxact:name>
@@ -571,9 +561,6 @@
571561
</ipxact:vector>
572562
</ipxact:vectors>
573563
</ipxact:wire>
574-
<ipxact:vendorExtensions>
575-
<kactus2:portTags></kactus2:portTags>
576-
</ipxact:vendorExtensions>
577564
</ipxact:port>
578565
<ipxact:port>
579566
<ipxact:name>sys_data_i</ipxact:name>
@@ -711,27 +698,27 @@ Ports prefixes:
711698
-periph denotes peripheral access, explained in interface.peripheral_control
712699
-sys denotes CPU system bus, explained in interface.intra_cpu</ipxact:description>
713700
<ipxact:parameters>
714-
<ipxact:parameter parameterId="uuid_11795f77_041d_4548_bcf3_cd41b67482a1" resolve="user" usageCount="24">
701+
<ipxact:parameter kactus2:usageCount="24" parameterId="uuid_11795f77_041d_4548_bcf3_cd41b67482a1" resolve="user">
715702
<ipxact:name>DATA_WIDTH</ipxact:name>
716703
<ipxact:description>Width for data in registers and instructions.</ipxact:description>
717704
<ipxact:value>16</ipxact:value>
718705
</ipxact:parameter>
719-
<ipxact:parameter parameterId="uuid_b6bb8c34_3d40_4189_b91d_6cdce56c33f1" resolve="user" usageCount="4">
706+
<ipxact:parameter kactus2:usageCount="4" parameterId="uuid_b6bb8c34_3d40_4189_b91d_6cdce56c33f1" resolve="user">
720707
<ipxact:name>ADDR_WIDTH</ipxact:name>
721708
<ipxact:description>Width of the addresses.</ipxact:description>
722709
<ipxact:value>16</ipxact:value>
723710
</ipxact:parameter>
724-
<ipxact:parameter parameterId="uuid_e835eae8_6310_47c7_a791_8ee2df766ed3" resolve="user" usageCount="2">
711+
<ipxact:parameter kactus2:usageCount="2" parameterId="uuid_e835eae8_6310_47c7_a791_8ee2df766ed3" resolve="user">
725712
<ipxact:name>MEMORY_SIZE</ipxact:name>
726713
<ipxact:description>How many bytes are in memory at total.</ipxact:description>
727714
<ipxact:value>256</ipxact:value>
728715
</ipxact:parameter>
729-
<ipxact:parameter parameterId="uuid_e3b353a9_9c84_4f26_a9bf_8271de5b015c" resolve="user" usageCount="5">
716+
<ipxact:parameter kactus2:usageCount="5" parameterId="uuid_e3b353a9_9c84_4f26_a9bf_8271de5b015c" resolve="user">
730717
<ipxact:name>PERIPHERAL_BASE</ipxact:name>
731718
<ipxact:description>The first address for peripherals.</ipxact:description>
732719
<ipxact:value>128</ipxact:value>
733720
</ipxact:parameter>
734-
<ipxact:parameter parameterId="uuid_13bb2f35_a7cd_4792_ba5d_7b91ffe4e882" resolve="immediate" usageCount="2">
721+
<ipxact:parameter kactus2:usageCount="2" parameterId="uuid_13bb2f35_a7cd_4792_ba5d_7b91ffe4e882" resolve="immediate">
735722
<ipxact:name>AUB</ipxact:name>
736723
<ipxact:description>Addressable unit bits, size of byte.</ipxact:description>
737724
<ipxact:value>8</ipxact:value>
@@ -741,12 +728,12 @@ Ports prefixes:
741728
<ipxact:description>How many registers are supported in the core.</ipxact:description>
742729
<ipxact:value>8</ipxact:value>
743730
</ipxact:parameter>
744-
<ipxact:parameter parameterId="uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab" resolve="immediate" usageCount="8">
731+
<ipxact:parameter kactus2:usageCount="8" parameterId="uuid_86d03535_d756_4fc9_8d59_ba85e57b94ab" resolve="immediate">
745732
<ipxact:name>DATA_BYTES</ipxact:name>
746733
<ipxact:description>How many bytes in data width.</ipxact:description>
747734
<ipxact:value>uuid_11795f77_041d_4548_bcf3_cd41b67482a1/uuid_13bb2f35_a7cd_4792_ba5d_7b91ffe4e882</ipxact:value>
748735
</ipxact:parameter>
749-
<ipxact:parameter parameterId="uuid_5e8681b9_de2f_4521_b331_a3db91c4b49b" resolve="immediate" usageCount="4">
736+
<ipxact:parameter kactus2:usageCount="4" parameterId="uuid_5e8681b9_de2f_4521_b331_a3db91c4b49b" resolve="immediate">
750737
<ipxact:name>CONTROL_RANGE</ipxact:name>
751738
<ipxact:description>How many AUBs are reserved for control data.</ipxact:description>
752739
<ipxact:value>'h40</ipxact:value>

0 commit comments

Comments
 (0)