From 718736f825077e345ad396f78735c10e21547982 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Domas?= Date: Wed, 3 May 2017 17:52:22 +0200 Subject: [PATCH] added impl xsd + patterns in impls --- Parameters.cpp | 8 +- blast.creator.user | 8 +- block.xsd | 188 ------------------- lib/implementations/apf27-wb-master_impl.xml | 2 +- lib/implementations/demux_impl.xml | 2 +- lib/implementations/impls.bmf | Bin 584 -> 784 bytes lib/implementations/multadd_impl.xml | 9 +- lib/references/references.bmf | Bin 5514 -> 6378 bytes 8 files changed, 11 insertions(+), 206 deletions(-) delete mode 100644 block.xsd diff --git a/Parameters.cpp b/Parameters.cpp index 4fd583d..af8eb22 100644 --- a/Parameters.cpp +++ b/Parameters.cpp @@ -529,7 +529,7 @@ void Parameters::loadReferencesFromXml() throw(Exception) { blockXML.close(); try { - validateXmlFile(fileName,"block.xsd",Reference); + validateXmlFile(fileName,"reference.xsd",Reference); } catch(Exception err) { throw(err); @@ -665,14 +665,14 @@ void Parameters::loadImplementationsFromXml() throw(Exception) { implXML.close(); cout << "OK" << endl; cout << "reading " << qPrintable(fileName) << " content ..."; - /* + try { - validateXmlFile(fileName,"block.xsd",Implementation); + validateXmlFile(fileName,"implementation.xsd",Implementation); } catch(Exception e) { throw(e); } - */ + // reading in into QDomDocument QDomDocument document ("FileXML"); if (!implXML.open(QIODevice::ReadOnly)) { diff --git a/blast.creator.user b/blast.creator.user index b7f7e1d..c87af56 100755 --- a/blast.creator.user +++ b/blast.creator.user @@ -1,10 +1,10 @@ - + EnvironmentId - {c8006d66-d34f-42be-ad10-d0207752286d} + {1d077e47-e3a1-47fd-8b12-4de650e39df5} ProjectExplorer.Project.ActiveTarget @@ -60,12 +60,12 @@ Desktop Desktop - {2c9bf876-3476-44eb-8065-1f0844704dda} + {451ee8a3-56ff-4aba-8a8e-3da882cc142e} 0 0 0 - /home/sdomas/Projet/Blast/code/blast + /localhome/sdomas/Projet/Blast/code/blast diff --git a/block.xsd b/block.xsd deleted file mode 100644 index a5c2c2d..0000000 --- a/block.xsd +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/implementations/apf27-wb-master_impl.xml b/lib/implementations/apf27-wb-master_impl.xml index 7970abf..2b2548b 100644 --- a/lib/implementations/apf27-wb-master_impl.xml +++ b/lib/implementations/apf27-wb-master_impl.xml @@ -2,7 +2,7 @@ - + This component is an interface between i.MX signals diff --git a/lib/implementations/demux_impl.xml b/lib/implementations/demux_impl.xml index bcb7ea8..a61d4e3 100644 --- a/lib/implementations/demux_impl.xml +++ b/lib/implementations/demux_impl.xml @@ -2,7 +2,7 @@ - + This component is a synchronous demultiplixer with variable number of outputs diff --git a/lib/implementations/impls.bmf b/lib/implementations/impls.bmf index b447cd00fc83aa972d258290e90574e545720a97..7fd7598fad1ca6067e30c3313a113855cddb779d 100644 GIT binary patch delta 76 zcmX@XGJ%bQfq|Kafq{W#BFAmkBS6Nii2|j - + This component is a multadd @@ -52,12 +52,5 @@ begin @{wb_d} <= std_logic_vector(resize(result,2*wb_data_width)); - - - - - - - diff --git a/lib/references/references.bmf b/lib/references/references.bmf index 4f6c352e286cae4281e5e186c692bae3e74dbad8..8108f615bc6545a56f3ed5a5f83de9044ece639e 100644 GIT binary patch delta 522 zcmd6jElvYb6opTl2A&wufGR;2$dsY9b*!KoLDEczX)^&j(CH8y4uKuZCIHn0fkv?k z1d1i_-Ip4|1`y}Hd(Ztp53R4ZlQupjtv7PzbCKwxmLM77@pIs>P6RoZ!Bh#GtE?&Oe z#CEcpRM%vrykVFF@vVy4Xmzo7$#)obnf I