diff options
| author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 22:03:50 -0700 | 
|---|---|---|
| committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 22:03:50 -0700 | 
| commit | 1b42e0c471ba81843e3fbd1869e84b36f8a24c2f (patch) | |
| tree | 8f91c0682298345bc3a08057c3cbae5ae5aba0ca /passes | |
| parent | ad19e0c64ab69ab059efc258ae616f4fb5b8847d (diff) | |
| download | yosys-1b42e0c471ba81843e3fbd1869e84b36f8a24c2f.tar.gz yosys-1b42e0c471ba81843e3fbd1869e84b36f8a24c2f.tar.bz2 yosys-1b42e0c471ba81843e3fbd1869e84b36f8a24c2f.zip  | |
Reduced log verbosity
Diffstat (limited to 'passes')
| -rw-r--r-- | passes/techmap/counters.cc | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/passes/techmap/counters.cc b/passes/techmap/counters.cc index e6e1111c1..37ddf8430 100644 --- a/passes/techmap/counters.cc +++ b/passes/techmap/counters.cc @@ -202,13 +202,12 @@ void counters_worker(ModIndex& index, Module */*module*/, Cell *cell, unsigned i  	//Log it  	total_counters ++; -	log("  Extracting %d-bit counter to %s hard macro\n", a_width, celltype.c_str()); -	log("    Decrementer: %s\n", cell->name.c_str()); -	log("    Output mux:  %s\n", count_mux->name.c_str()); -	log("    Register:    %s\n", count_reg->name.c_str()); -	log("    Comparator:  %s\n", underflow_inv->name.c_str()); -	log("    Count value: %d\n", count_value); -	 +	string count_reg_src = rwire->attributes["\\src"].decode_string().c_str(); +	log("  Found %d-bit non-resettable down counter (from %d) for register %s declared at %s\n", +		a_width, +		count_value, +		log_id(rwire->name), +		count_reg_src.c_str());  	/*  	log("Converting %s cell %s.%s to $adff.\n", log_id(cell->type), log_id(module), log_id(cell)); @@ -240,12 +239,12 @@ struct CountersPass : public Pass {  		log("\n");  		log("    counters [options] [selection]\n");  		log("\n"); -		log("This pass converts resettable down counters to GreenPak counter cells\n"); +		log("This pass converts resettable down counters to GreenPak4 counter cells\n");  		log("\n");  	}  	virtual void execute(std::vector<std::string> args, RTLIL::Design *design)  	{ -		log_header("Executing COUNTERS pass (mapping counters to GP_COUNTx cells).\n"); +		log_header("Executing COUNTERS pass (mapping counters to hard IP blocks).\n");  		size_t argidx;  		for (argidx = 1; argidx < args.size(); argidx++)  | 
