Hi,
Does anyone know if user defined Primitives are supported with XST, I have the following code and it is giving error,
primitive mymultiplexer
(y, a, b, c0, c1, c2, c3); output y; // reg y; input a, b, c0, c1, c2, c3;
table // a b c0 c1 c2 c3 y 0 0 1 ? ? ? : 1 ; 0 0 0 ? ? ? : 0 ; 0 0 x ? ? ? : x ; 1 0 ? 1 ? ? : 1 ; 1 0 ? 0 ? ? : 0 ; 1 0 ? x ? ? : x ; 0 1 ? ? 1 ? : 1 ; 0 1 ? ? 0 ? : 0 ; 0 1 ? ? x ? : x ; 1 1 ? ? ? 1 : 1 ; 1 1 ? ? ? 0 : 0 ; 1 1 ? ? ? x : x ; x 0 1 1 ? ? : 1 ; x 0 0 0 ? ? : 0 ; x 1 ? ? 1 1 : 1 ; x 1 ? ? 0 0 : 0 ; 0 x 1 ? 1 ? : 1 ; 0 x 0 ? 0 ? : 0 ; 1 x ? 1 ? 1 : 1 ; 1 x ? 0 ? 0 : 0 ; x x 0 0 0 0 : 0 ; x x 1 1 1 1 : 1 ; endtable
endprimitive
ISE reports: Unsupported Switch or UDP primitive.
I can work around this problem, but writing code as modules, but I was just wondering if I have to enable something in the tool and get it working.