From 543f1c62b4d3929d2cbabef02680cf8c5e2812ef Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 14 Mar 2020 10:49:48 +0100 Subject: synth: handle more operations from synsopsys packages. --- python/libghdl/thin/vhdl/nodes.py | 156 +++++++++++++++++++------------------- 1 file changed, 79 insertions(+), 77 deletions(-) (limited to 'python') diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py index 82baa62c8..1485d5ec2 100644 --- a/python/libghdl/thin/vhdl/nodes.py +++ b/python/libghdl/thin/vhdl/nodes.py @@ -1361,86 +1361,88 @@ class Iir_Predefined: Ieee_Std_Logic_Unsigned_Add_Slv_Slv = 378 Ieee_Std_Logic_Unsigned_Add_Slv_Int = 379 Ieee_Std_Logic_Unsigned_Add_Int_Slv = 380 - Ieee_Std_Logic_Unsigned_Add_Slv_Sl = 381 - Ieee_Std_Logic_Unsigned_Add_Sl_Slv = 382 + Ieee_Std_Logic_Unsigned_Add_Slv_Log = 381 + Ieee_Std_Logic_Unsigned_Add_Log_Slv = 382 Ieee_Std_Logic_Unsigned_Sub_Slv_Slv = 383 Ieee_Std_Logic_Unsigned_Sub_Slv_Int = 384 Ieee_Std_Logic_Unsigned_Sub_Int_Slv = 385 - Ieee_Std_Logic_Unsigned_Sub_Slv_Sl = 386 - Ieee_Std_Logic_Unsigned_Sub_Sl_Slv = 387 - Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 388 - Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 389 - Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 390 - Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 391 - Ieee_Std_Logic_Unsigned_Le_Slv_Int = 392 - Ieee_Std_Logic_Unsigned_Le_Int_Slv = 393 - Ieee_Std_Logic_Unsigned_Gt_Slv_Slv = 394 - Ieee_Std_Logic_Unsigned_Gt_Slv_Int = 395 - Ieee_Std_Logic_Unsigned_Gt_Int_Slv = 396 - Ieee_Std_Logic_Unsigned_Ge_Slv_Slv = 397 - Ieee_Std_Logic_Unsigned_Ge_Slv_Int = 398 - Ieee_Std_Logic_Unsigned_Ge_Int_Slv = 399 - Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 400 - Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 401 - Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 402 - Ieee_Std_Logic_Unsigned_Ne_Slv_Slv = 403 - Ieee_Std_Logic_Unsigned_Ne_Slv_Int = 404 - Ieee_Std_Logic_Unsigned_Ne_Int_Slv = 405 - Ieee_Std_Logic_Unsigned_Conv_Integer = 406 - Ieee_Std_Logic_Signed_Add_Slv_Slv = 407 - Ieee_Std_Logic_Signed_Add_Slv_Int = 408 - Ieee_Std_Logic_Signed_Add_Int_Slv = 409 - Ieee_Std_Logic_Signed_Add_Slv_Sl = 410 - Ieee_Std_Logic_Signed_Add_Sl_Slv = 411 - Ieee_Std_Logic_Signed_Sub_Slv_Slv = 412 - Ieee_Std_Logic_Signed_Sub_Slv_Int = 413 - Ieee_Std_Logic_Signed_Sub_Int_Slv = 414 - Ieee_Std_Logic_Signed_Sub_Slv_Sl = 415 - Ieee_Std_Logic_Signed_Sub_Sl_Slv = 416 - Ieee_Std_Logic_Arith_Conv_Unsigned_Int = 417 - Ieee_Std_Logic_Arith_Conv_Unsigned_Uns = 418 - Ieee_Std_Logic_Arith_Conv_Unsigned_Sgn = 419 - Ieee_Std_Logic_Arith_Conv_Unsigned_Log = 420 - Ieee_Std_Logic_Arith_Conv_Integer_Int = 421 - Ieee_Std_Logic_Arith_Conv_Integer_Uns = 422 - Ieee_Std_Logic_Arith_Conv_Integer_Sgn = 423 - Ieee_Std_Logic_Arith_Conv_Integer_Log = 424 - Ieee_Std_Logic_Arith_Conv_Vector_Int = 425 - Ieee_Std_Logic_Arith_Conv_Vector_Uns = 426 - Ieee_Std_Logic_Arith_Conv_Vector_Sgn = 427 - Ieee_Std_Logic_Arith_Conv_Vector_Log = 428 - Ieee_Std_Logic_Arith_Mul_Uns_Uns_Uns = 429 - Ieee_Std_Logic_Arith_Mul_Sgn_Sgn_Sgn = 430 - Ieee_Std_Logic_Arith_Mul_Sgn_Uns_Sgn = 431 - Ieee_Std_Logic_Arith_Mul_Uns_Sgn_Sgn = 432 - Ieee_Std_Logic_Arith_Mul_Uns_Uns_Slv = 433 - Ieee_Std_Logic_Arith_Mul_Sgn_Sgn_Slv = 434 - Ieee_Std_Logic_Arith_Mul_Sgn_Uns_Slv = 435 - Ieee_Std_Logic_Arith_Mul_Uns_Sgn_Slv = 436 - Ieee_Std_Logic_Arith_Add_Uns_Uns_Uns = 437 - Ieee_Std_Logic_Arith_Add_Sgn_Sgn_Sgn = 438 - Ieee_Std_Logic_Arith_Add_Uns_Sgn_Sgn = 439 - Ieee_Std_Logic_Arith_Add_Sgn_Uns_Sgn = 440 - Ieee_Std_Logic_Arith_Add_Uns_Int_Uns = 441 - Ieee_Std_Logic_Arith_Add_Int_Uns_Uns = 442 - Ieee_Std_Logic_Arith_Add_Sgn_Int_Sgn = 443 - Ieee_Std_Logic_Arith_Add_Int_Sgn_Sgn = 444 - Ieee_Std_Logic_Arith_Add_Uns_Log_Uns = 445 - Ieee_Std_Logic_Arith_Add_Log_Uns_Uns = 446 - Ieee_Std_Logic_Arith_Add_Sgn_Log_Sgn = 447 - Ieee_Std_Logic_Arith_Add_Log_Sgn_Sgn = 448 - Ieee_Std_Logic_Arith_Add_Uns_Uns_Slv = 449 - Ieee_Std_Logic_Arith_Add_Sgn_Sgn_Slv = 450 - Ieee_Std_Logic_Arith_Add_Uns_Sgn_Slv = 451 - Ieee_Std_Logic_Arith_Add_Sgn_Uns_Slv = 452 - Ieee_Std_Logic_Arith_Add_Uns_Int_Slv = 453 - Ieee_Std_Logic_Arith_Add_Int_Uns_Slv = 454 - Ieee_Std_Logic_Arith_Add_Sgn_Int_Slv = 455 - Ieee_Std_Logic_Arith_Add_Int_Sgn_Slv = 456 - Ieee_Std_Logic_Arith_Add_Uns_Log_Slv = 457 - Ieee_Std_Logic_Arith_Add_Log_Uns_Slv = 458 - Ieee_Std_Logic_Arith_Add_Sgn_Log_Slv = 459 - Ieee_Std_Logic_Arith_Add_Log_Sgn_Slv = 460 + Ieee_Std_Logic_Unsigned_Sub_Slv_Log = 386 + Ieee_Std_Logic_Unsigned_Sub_Log_Slv = 387 + Ieee_Std_Logic_Unsigned_Mul_Slv_Slv = 388 + Ieee_Std_Logic_Unsigned_Lt_Slv_Slv = 389 + Ieee_Std_Logic_Unsigned_Lt_Slv_Int = 390 + Ieee_Std_Logic_Unsigned_Lt_Int_Slv = 391 + Ieee_Std_Logic_Unsigned_Le_Slv_Slv = 392 + Ieee_Std_Logic_Unsigned_Le_Slv_Int = 393 + Ieee_Std_Logic_Unsigned_Le_Int_Slv = 394 + Ieee_Std_Logic_Unsigned_Gt_Slv_Slv = 395 + Ieee_Std_Logic_Unsigned_Gt_Slv_Int = 396 + Ieee_Std_Logic_Unsigned_Gt_Int_Slv = 397 + Ieee_Std_Logic_Unsigned_Ge_Slv_Slv = 398 + Ieee_Std_Logic_Unsigned_Ge_Slv_Int = 399 + Ieee_Std_Logic_Unsigned_Ge_Int_Slv = 400 + Ieee_Std_Logic_Unsigned_Eq_Slv_Slv = 401 + Ieee_Std_Logic_Unsigned_Eq_Slv_Int = 402 + Ieee_Std_Logic_Unsigned_Eq_Int_Slv = 403 + Ieee_Std_Logic_Unsigned_Ne_Slv_Slv = 404 + Ieee_Std_Logic_Unsigned_Ne_Slv_Int = 405 + Ieee_Std_Logic_Unsigned_Ne_Int_Slv = 406 + Ieee_Std_Logic_Unsigned_Conv_Integer = 407 + Ieee_Std_Logic_Signed_Add_Slv_Slv = 408 + Ieee_Std_Logic_Signed_Add_Slv_Int = 409 + Ieee_Std_Logic_Signed_Add_Int_Slv = 410 + Ieee_Std_Logic_Signed_Add_Slv_Log = 411 + Ieee_Std_Logic_Signed_Add_Log_Slv = 412 + Ieee_Std_Logic_Signed_Sub_Slv_Slv = 413 + Ieee_Std_Logic_Signed_Sub_Slv_Int = 414 + Ieee_Std_Logic_Signed_Sub_Int_Slv = 415 + Ieee_Std_Logic_Signed_Sub_Slv_Log = 416 + Ieee_Std_Logic_Signed_Sub_Log_Slv = 417 + Ieee_Std_Logic_Signed_Mul_Slv_Slv = 418 + Ieee_Std_Logic_Arith_Conv_Unsigned_Int = 419 + Ieee_Std_Logic_Arith_Conv_Unsigned_Uns = 420 + Ieee_Std_Logic_Arith_Conv_Unsigned_Sgn = 421 + Ieee_Std_Logic_Arith_Conv_Unsigned_Log = 422 + Ieee_Std_Logic_Arith_Conv_Integer_Int = 423 + Ieee_Std_Logic_Arith_Conv_Integer_Uns = 424 + Ieee_Std_Logic_Arith_Conv_Integer_Sgn = 425 + Ieee_Std_Logic_Arith_Conv_Integer_Log = 426 + Ieee_Std_Logic_Arith_Conv_Vector_Int = 427 + Ieee_Std_Logic_Arith_Conv_Vector_Uns = 428 + Ieee_Std_Logic_Arith_Conv_Vector_Sgn = 429 + Ieee_Std_Logic_Arith_Conv_Vector_Log = 430 + Ieee_Std_Logic_Arith_Mul_Uns_Uns_Uns = 431 + Ieee_Std_Logic_Arith_Mul_Sgn_Sgn_Sgn = 432 + Ieee_Std_Logic_Arith_Mul_Sgn_Uns_Sgn = 433 + Ieee_Std_Logic_Arith_Mul_Uns_Sgn_Sgn = 434 + Ieee_Std_Logic_Arith_Mul_Uns_Uns_Slv = 435 + Ieee_Std_Logic_Arith_Mul_Sgn_Sgn_Slv = 436 + Ieee_Std_Logic_Arith_Mul_Sgn_Uns_Slv = 437 + Ieee_Std_Logic_Arith_Mul_Uns_Sgn_Slv = 438 + Ieee_Std_Logic_Arith_Add_Uns_Uns_Uns = 439 + Ieee_Std_Logic_Arith_Add_Sgn_Sgn_Sgn = 440 + Ieee_Std_Logic_Arith_Add_Uns_Sgn_Sgn = 441 + Ieee_Std_Logic_Arith_Add_Sgn_Uns_Sgn = 442 + Ieee_Std_Logic_Arith_Add_Uns_Int_Uns = 443 + Ieee_Std_Logic_Arith_Add_Int_Uns_Uns = 444 + Ieee_Std_Logic_Arith_Add_Sgn_Int_Sgn = 445 + Ieee_Std_Logic_Arith_Add_Int_Sgn_Sgn = 446 + Ieee_Std_Logic_Arith_Add_Uns_Log_Uns = 447 + Ieee_Std_Logic_Arith_Add_Log_Uns_Uns = 448 + Ieee_Std_Logic_Arith_Add_Sgn_Log_Sgn = 449 + Ieee_Std_Logic_Arith_Add_Log_Sgn_Sgn = 450 + Ieee_Std_Logic_Arith_Add_Uns_Uns_Slv = 451 + Ieee_Std_Logic_Arith_Add_Sgn_Sgn_Slv = 452 + Ieee_Std_Logic_Arith_Add_Uns_Sgn_Slv = 453 + Ieee_Std_Logic_Arith_Add_Sgn_Uns_Slv = 454 + Ieee_Std_Logic_Arith_Add_Uns_Int_Slv = 455 + Ieee_Std_Logic_Arith_Add_Int_Uns_Slv = 456 + Ieee_Std_Logic_Arith_Add_Sgn_Int_Slv = 457 + Ieee_Std_Logic_Arith_Add_Int_Sgn_Slv = 458 + Ieee_Std_Logic_Arith_Add_Uns_Log_Slv = 459 + Ieee_Std_Logic_Arith_Add_Log_Uns_Slv = 460 + Ieee_Std_Logic_Arith_Add_Sgn_Log_Slv = 461 + Ieee_Std_Logic_Arith_Add_Log_Sgn_Slv = 462 Get_Kind = libghdl.vhdl__nodes__get_kind Get_Location = libghdl.vhdl__nodes__get_location -- cgit v1.2.3