OpenFPGA/libopenfpga/libarchopenfpga/test/main.cpp

22 lines
710 B
C++
Raw Normal View History

/********************************************************************
* Unit test functions to validate the correctness of
* 1. parser of data structures
* 2. writer of data structures
*******************************************************************/
#include "vtr_log.h"
2020-01-14 09:33:48 -06:00
#include "read_xml_circuit_settings.h"
int main(int argc, const char** argv) {
/* Parse the circuit library from an XML file */
2020-01-14 09:33:48 -06:00
const CircuitSettings& circuit_settings = read_xml_circuit_settings(argv[1]);
VTR_LOG("Parsed %lu circuit models from XML into circuit library.\n",
circuit_settings.circuit_lib.num_models());
/* Check the circuit library */
/* Output the circuit library to an XML file*/
}