Skip to content

Commit

Permalink
Merge pull request #759 from os-fpga/dsp_packer_conn_checker
Browse files Browse the repository at this point in the history
DSP connectivity hard rule checking
  • Loading branch information
alaindargelas authored Jul 14, 2024
2 parents ad12e74 + a01df12 commit e0d3c08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions include/eblif_tranform/blifparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void blif_parse_filename(const char* filename, Callback& callback) {
fstr.open(filename);
std::stringstream ss;
// Call transform function
tranformer.rs_transform_eblif(fstr, ss);
bool status = tranformer.rs_transform_eblif(fstr, ss);
std::string data = ss.str();
const char* value = std::getenv("PRINT_TRANSFORMED_EBLIF_FILE");
if (value) {
Expand All @@ -54,7 +54,9 @@ void blif_parse_filename(const char* filename, Callback& callback) {
inner_ofs << data;
inner_ofs.close();
}

if (status == false) {
exit (1);
}
FILE* infile = fmemopen((void*)data.c_str(), data.size(), "r");

if (infile != NULL) {
Expand Down

0 comments on commit e0d3c08

Please sign in to comment.