mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	aiger2: Try to fix VS build
This commit is contained in:
		
							parent
							
								
									d0a11e26f3
								
							
						
					
					
						commit
						72f0fea9e8
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		| 
						 | 
					@ -47,11 +47,8 @@ PRIVATE_NAMESPACE_BEGIN
 | 
				
			||||||
#define KNOWN_OPS BITWISE_OPS, REDUCE_OPS, LOGIC_OPS, GATE_OPS, ID($pos), CMP_OPS, \
 | 
					#define KNOWN_OPS BITWISE_OPS, REDUCE_OPS, LOGIC_OPS, GATE_OPS, ID($pos), CMP_OPS, \
 | 
				
			||||||
				  ID($pmux), ID($bmux) /*, ARITH_OPS*/
 | 
									  ID($pmux), ID($bmux) /*, ARITH_OPS*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
template<typename Writer, typename Lit>
 | 
					template<typename Writer, typename Lit, Lit CFALSE, Lit CTRUE>
 | 
				
			||||||
struct Index {
 | 
					struct Index {
 | 
				
			||||||
	static constexpr Lit CFALSE = Writer::CONST_FALSE;
 | 
					 | 
				
			||||||
	static constexpr Lit CTRUE = Writer::CONST_TRUE;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	struct HierCursor;
 | 
						struct HierCursor;
 | 
				
			||||||
	struct ModuleInfo {
 | 
						struct ModuleInfo {
 | 
				
			||||||
		Module *module;
 | 
							Module *module;
 | 
				
			||||||
| 
						 | 
					@ -664,7 +661,7 @@ struct Index {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct AigerWriter : Index<AigerWriter, unsigned int> {
 | 
					struct AigerWriter : Index<AigerWriter, unsigned int, 0, 1> {
 | 
				
			||||||
	typedef unsigned int Lit;
 | 
						typedef unsigned int Lit;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const static Lit CONST_FALSE = 0;
 | 
						const static Lit CONST_FALSE = 0;
 | 
				
			||||||
| 
						 | 
					@ -804,7 +801,7 @@ struct AigerWriter : Index<AigerWriter, unsigned int> {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct XAigerAnalysis : Index<XAigerAnalysis, int> {
 | 
					struct XAigerAnalysis : Index<XAigerAnalysis, int, 0, 0> {
 | 
				
			||||||
	const static int CONST_FALSE = 0;
 | 
						const static int CONST_FALSE = 0;
 | 
				
			||||||
	const static int CONST_TRUE = 0;
 | 
						const static int CONST_TRUE = 0;
 | 
				
			||||||
	const static constexpr int EMPTY_LIT = -1;
 | 
						const static constexpr int EMPTY_LIT = -1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue