POLARABLEXPR(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

πŸŽ€ POLARABLEXPR(3) β€” ABL FUNCTIONS πŸŽ€

okay bestie, welcome to the POLARABLEXPR(3) page from ABL FUNCTIONS β€” this one's about polarablexpr, and it's giving β€œtiny function, whole lotta polarity” energy. πŸ¦‹

✨ NAME ✨

polarablexpr β€” moves inverters to the atomic level. periodt. πŸ’…

🌈 ORIGIN 🌈

This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. πŸ₯–πŸŒΈ

Web: http://asim.lip6.fr/recherche/alliance/ E-mail: alliance-users@asim.lip6.fr

🫢 SYNOPSIS 🫢

#include "abl101.h"
chain_list βˆ—polarablexpr( Expr, Polar )
  chain_list βˆ—Expr;
  int         Polar;

πŸ“ PARAMETERS πŸ“

  • Expr β€” the expression to modify. this is the one getting the glow-up. ✨
  • Polar β€” the expression polarity. it decides the vibe of the output. 🌈

πŸ’œ DESCRIPTION πŸ’œ

polarablexpr modifies Expr by moving down the inverters to the atomic level. it applies the Morgan's laws. no cap, that's the whole move. 🧚

If Polar is equal to ABL_POLAR_NEGATIVE, the function returns the modified expression after having complemented it. πŸŽ€

⚠️ bestie, listen to me: the expression pointer Expr MUSTN'T be used after the call to this function. like, do not touch it. not even a little. πŸ˜­πŸ’€

πŸ‘‘ RETURN VALUE πŸ‘‘

polarablexpr returns the modified expression. that's it, that's the return value. iconic. πŸ’…

πŸ”₯ EXAMPLE πŸ”₯

#include "abl101.h"
  chain_list βˆ—Expr1;
  chain_list βˆ—Expr2;
  Expr1 = createabloper( ABL_NOT );
  Expr2 = createabloper( ABL_NOT );
  addablhexpr( Expr1, createablatom( "a" ) );
  addablhexpr( Expr2, Expr1 );
  Expr1 = polarablexpr( Expr2, ABL_POLAR_POSITIVE );
  /* displays  a */
  viewablexpr( Expr1, ABL_VIEW_VHDL );

🌸 SEE ALSO 🌸

  • abl(1) β€” go say hi. 🫢

πŸ› BUG REPORT πŸ›

This tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools. so if something's weird, tell them, bestie. πŸ’Œ


signed, sealed, slayed by ASIM/LIP6 on October 1, 1997 β€” POLARABLEXPR(3), out. πŸ’–βœ¨

πŸ“¦ where this page comes from