diff --git a/libopenfpga/libpcf/src/io/read_csv_io_pin_table.cpp b/libopenfpga/libpcf/src/io/read_csv_io_pin_table.cpp new file mode 100644 index 000000000..5911e8b1f --- /dev/null +++ b/libopenfpga/libpcf/src/io/read_csv_io_pin_table.cpp @@ -0,0 +1,37 @@ +/******************************************************************** + * This file includes the top-level function of this library + * which reads an XML of pin constraints to the associated + * data structures + *******************************************************************/ +#include + +/* Headers from vtr util library */ +#include "vtr_assert.h" +#include "vtr_time.h" + +/* Headers from libopenfpga util library */ +#include "openfpga_port_parser.h" + +#include "csv.hpp" + +#include "read_csv_io_pin_table.h" + +/* Begin namespace openfpga */ +namespace openfpga { + +/******************************************************************** + * Parse XML codes about to an object of PinConstraints + *******************************************************************/ +IoPinTable read_csv_io_pin_table(const char* fname) { + vtr::ScopedStartFinishTimer timer("Read I/O Pin Table"); + + IoPinTable io_pin_table; + + + return io_pin_table; +} + +} /* End namespace openfpga*/ + + + diff --git a/libopenfpga/libpcf/src/io/read_csv_io_pin_table.h b/libopenfpga/libpcf/src/io/read_csv_io_pin_table.h new file mode 100644 index 000000000..3da916b53 --- /dev/null +++ b/libopenfpga/libpcf/src/io/read_csv_io_pin_table.h @@ -0,0 +1,20 @@ +#ifndef READ_CSV_IO_PIN_TABLE_H +#define READ_CSV_IO_PIN_TABLE_H + +/******************************************************************** + * Include header files that are required by function declaration + *******************************************************************/ +#include +#include "io_pin_table.h" + +/******************************************************************** + * Function declaration + *******************************************************************/ +/* Begin namespace openfpga */ +namespace openfpga { + +IoPinTable read_csv_io_pin_table(const char* fname); + +} /* End namespace openfpga*/ + +#endif