POLARABLEXPR(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’… POLARABLEXPR β€” bestie edition

okay so this is a page from ABL FUNCTIONS, section 3 of the manual, and it's literally about moving inverters down to the atomic level. iconic behavior honestly.


✨ NAME ✨

polarablexpr β€” moves inverters to the atomic level. that's it, that's the whole job. no cap. πŸ¦‹


🌸 ORIGIN 🌸

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


πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ’– PARAMETERS πŸ’–

  • Expr β€” Expression to modify. it's getting a lil glow-up bestie πŸ’…
  • Polar β€” Expression polarity. the vibe check for your expression fr fr.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so polarablexpr modifies Expr by moving down the inverters to the atomic level. it's giving "everyone get to your assigned seats" energy. ✨

polarablexpr applies the Morgan's laws. yes, those Morgan's laws. she ate and left no crumbs. πŸ”₯

If Polar is equal to ABL_POLAR_NEGATIVE the function returns the modified expression after having complemented it.

⚠️ The expression pointer Expr MUSTN'T be used after the call to this function. like, literally do not touch it. it's gone. it belongs to the function now. 🫢 not me warning you twice. please. 😭

🌈 RETURN VALUE 🌈

polarablexpr returns the modified expression. main character returns. πŸ‘‘


πŸ“ 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 );

she literally returns a. the way that worked out. πŸ’€βœ¨


🧚 SEE ALSO 🧚


πŸ’œ BUG REPORT πŸ’œ

This tool is under development at the ASIM department of the LIP6 laboratory.

We need your feedback to improve documentation and tools. fr fr, they're asking. slide into their inbox bestie, it's lowkey a whole vibe. πŸ“¬


🌟 so anyway that's polarablexpr from ASIM/LIP6, dated October 1, 1997 β€” yes the date is ancient but the energy is forever. stay slay, protect your Expr pointer, and remember: after the call, she's not yours anymore. periodt. πŸ’…πŸ¦‹πŸ’–