Unified construction of two n-order circuit networks with diodes