From: Stéphane Domas Date: Wed, 3 May 2017 15:52:22 +0000 (+0200) Subject: added impl xsd + patterns in impls X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/commitdiff_plain/718736f825077e345ad396f78735c10e21547982?ds=inline;hp=-c added impl xsd + patterns in impls --- 718736f825077e345ad396f78735c10e21547982 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 b447cd0..7fd7598 100644 Binary files a/lib/implementations/impls.bmf and b/lib/implementations/impls.bmf differ diff --git a/lib/implementations/multadd_impl.xml b/lib/implementations/multadd_impl.xml index fc2d10f..74a022a 100644 --- a/lib/implementations/multadd_impl.xml +++ b/lib/implementations/multadd_impl.xml @@ -2,7 +2,7 @@ - + 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 4f6c352..8108f61 100644 Binary files a/lib/references/references.bmf and b/lib/references/references.bmf differ